Forum

the Ask price with iLow()

Hello, i would like to know the high and low Price of a bar at a specific time, i use iHigh() to obtain the high Bid price, but how can i obtain the Ask price with iLow() ? Thanks

Small Problem with my EA

Hello, I'm trying to write an EA but I have a problem when I do a backtest. It seems to work properly for a moment and then it does something that I really don't understand. The problem: 2 15:22:04.133 2018.11.07 02:42:47 DoubleScalp(1.2) EURUSD,M5: open #352 sell stop 0.02 EURUSD at 1.14519 ok 2

Different Array Number

Hi, I have a problem to count the number of different integer in an array. For exemple: in MyArray {5,7,5,3,3,4,7,7,3,4,4,3} There is 4 different integer (3, 4, 5 and 7) I would like to return int DifArrayNbr=4; I've tried to did it with some "for() " or "while()" but it's so hard to make a