I have build an EA using Expert Advisor Builder. I intend to use this EA on off line renko charts. The simple logic of this EA is to buy when two up bricks appear after a down brick and to sell when two down bricks appear after a up brick. I don't understand exactly everything that is happening on this code but I made some modifications to make it run from offline charts. I called start() from init() and put the code inside start() in an endless loop. But still this EA still does nothing. The start function get called and the infinite loop works.
I am attaching a chart to show where I think it should have bought but it didn't.
Can someone please explain what is wrong with this code?
I am attaching a chart to show where I think it should have bought but it didn't.
Can someone please explain what is wrong with this code?
Attached File(s)
renko2in1out.mq4
9 KB
|
711 downloads