Oshry Benbenisty Ur / Publications
Forum
have 2 trading baskets on the same EA
I have an EA i have developed who need certain conditions to open a position than he maintain that position. Now i want to have an additional trade open on diffrent conditions, and that it will manage it without touching the other. now to each one it will avg if a certain loss is reached, and will
Critical error while running expert... Array out of range.
Hey Im trying to build an EA that will recognize divergence. In order to do so I have multiple arrays in place, with the largest being 90. I keep going though the code but im not able to find what causes the error. I would really apreciate the help I'm even testing to see RSI value and it is 0
Array insert new value at [0] location
I'm trying to insert to an exsisting array new values so it will be in an order. I want to insert new int value in the [0] location and that the exsisting [0] location will be moved to [1] etc... I went though the docs and i havent found a way to do this.. Does anyone know of a way? or have a code
cant share my EA
Hey I have build my own EA and trying to share it to a friend... i have complied it and sent him the EX5 but it keeps getting him this error... MQL5 your CPU architecture does not allow to run the file '....ex5': X64 required, you have AVX only what can i do to fix this
cant modify trades
For some reason it doesnt update my trades with the new TP. Please help. double BAvgTP (){ double ask = NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_ASK ), _Digits ); double newbtp; double loss = 0.00 ; double Lsize = 0.00 ; for ( int i= PositionsTotal ()- 1 ;i>= 0 ;i--){