External indicator
3 replies
areina75
10 months 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
areina75
10 months 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?
tomas262
10 months ago #282430
Hi,
you can follow the tutorial here https://strategyquant.com/doc/strategyquant/external-indicators/
Let me know if any questions
areina75
10 months 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.
Viewing 3 replies - 1 through 3 (of 3 total)