Forum

multidimensional array: Out of Range

Dear, I would like to contrast DIs (ADX) with different averaging time frame , so I created a custom Indicator using the basics of ADX Wilder Moving from PD and ND along with TR to PDS, NDS, PDI and NDI with different averaging number (1,2, 3, to 14). I would like generate a matrix of PDI with in

Index (Counter) on OnTick for an array: Help needed

Hello, still struggling with an EA: Is there any way to include an index or a counter to store variables on dynamic array in the OnTick section of the EA. I attach the example that I used but it does not work. Appreciate any suggestion

Appreciate help on this

Hi I use an EA with last price of an executed order OPLAST. Then this price should be used in an custom Indicator to compute a difference between OPLAST and close price and return back to EA. In the computation, the OPLAST is not recognised in the Indicator and return only the close. I do not know

Need Help: EA with multiple Timeframe

I am new in coding and hope find helps and insights with respect to my problem. I downloades an EA using ADX as indicator for buy and sell signal . I added a second indicator (still ADX) but with different timeframes (5 minutes). The idea is when both ADX (1 minutes and 5 minutes) are higher than a