- Search Forex Factory
- 5 Results
- Abo-Amal replied Sep 17, 2023
tried it, still the same I don't believe this is the problem, Nb & Ns are counting correctly I think the problem is in the code in the below image, since H1 and L1 values are updated with each candle close, the code checks only after "L1 and H1" ...
- Abo-Amal replied Sep 17, 2023
Adding move to b.e function when price reach 50% of target it should be c image alled within OnTimer or OnTick void MoveToBE() { for(int b=OrdersTotal()-1; b>=0; b--) { if(OrderSelect(b,SELECT_BY_POS,MODE_TRADES)) { ...
- Abo-Amal replied Sep 17, 2023
I know why this is happening, but I don't know how to fix it image
- Abo-Amal replied Sep 15, 2023
Now lets try adding a condition to the code for the next “N” candles on HTF, check at LTF for the entry the idea is better described in the below image image actually i have no idea how to do this except for simple "For Loop" so i'll be waiting to ...
- Abo-Amal replied Sep 15, 2023
When i compile the above code i get these errors image so i changed the brackets order and it compiled without errors image But, the code is not opening any trades. when used in MT4 tester, i'm trying to figure out why.
- Posts by Member Search: 'Abo-Amal'