READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

External indicator

3 replies

areina75

Subscriber, bbp_participant, customer, community, 7 replies.

Visit profile

3 years ago #282385

Good evening, I don’t understand how to code StrategyQuant}custom_indicators for MetaTrader5Experts tonise the indicator attached.

Can Simeone help me?

 

Thanks

Attachments in this forum are visible only to Customers.

0

areina75

Subscriber, bbp_participant, customer, community, 7 replies.

Visit profile

3 years ago #282415

I want to use this indicator like external indicator but I don’t understand how to use the export indicator StrategyQuant}custom_indicatorsMetaTrader5Experts. Can you help me?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #282430

Hi,

you can follow the tutorial here https://strategyquant.com/doc/strategyquant/external-indicators/

Let me know if any questions

0

areina75

Subscriber, bbp_participant, customer, community, 7 replies.

Visit profile

3 years ago #282442

I’ve seen the tutorial, but I don’t understand how to modify these Lines:

void OnTick()

…

indicatorBufferIndex = 0;

if(!FillArraysFromBuffers(IndicatorBuffer, indicatorHandle, 2)) return;

 

indicatorBufferIndex = 1;

if(!FillArraysFromBuffers(SignalBuffer, indicatorHandle, 2)) return;

 

And

FileWrite(handle, currentTime, rt[0].open, rt[0].high, rt[0].low, rt[0].close, rt[0].tick_volume, IndicatorBuffer[0], SignalBuffer[0]);

thanks to everyone who can help me.

0

Viewing 3 replies - 1 through 3 (of 3 total)