@ dambuster - what grid size are you using?
Here's a version of the program with a few changes:
The Spread, Buffer, and GridStep are all literal and displayed in cents. So a GridStep of 35 will place each trade $0.35 from it's neighbor, for example. Some comment script has been included on how the trades will be initiated on your screen. If you get error 130's, 4107, etc you don't have enough buffer and spread selected for your broker's comfort.
There is a flag ("UseTimeToStart"). Leaving this as false will cause the program to start immediately.
The biggest change is that the breakeven and targets are displayed in the comment block. These are accurate as far as I can tell. Targets are based on the "Gain Sought" field of the comment block. I knew I'd find a use for those arithmetic series from algebra, lol. Naturally, they are hypothetical and based on the number of existing and potential hedges that will be made, plus hitting the stops exactly on the numbers on a straight line trip to the values shown. That is to say, use them as guides, and as the trade progresses they are probably going to change when the price wanders around.
One caveat, they are only really accurate if they lie within the grid, as (for now) the algorithm assumes the grid goes forever. I'll fix this in a later version, but for now it's good inside the grid. If they are outside the grid - they are are most likely too close.
Have fun with it
Here's a version of the program with a few changes:
The Spread, Buffer, and GridStep are all literal and displayed in cents. So a GridStep of 35 will place each trade $0.35 from it's neighbor, for example. Some comment script has been included on how the trades will be initiated on your screen. If you get error 130's, 4107, etc you don't have enough buffer and spread selected for your broker's comfort.
There is a flag ("UseTimeToStart"). Leaving this as false will cause the program to start immediately.
The biggest change is that the breakeven and targets are displayed in the comment block. These are accurate as far as I can tell. Targets are based on the "Gain Sought" field of the comment block. I knew I'd find a use for those arithmetic series from algebra, lol. Naturally, they are hypothetical and based on the number of existing and potential hedges that will be made, plus hitting the stops exactly on the numbers on a straight line trip to the values shown. That is to say, use them as guides, and as the trade progresses they are probably going to change when the price wanders around.
One caveat, they are only really accurate if they lie within the grid, as (for now) the algorithm assumes the grid goes forever. I'll fix this in a later version, but for now it's good inside the grid. If they are outside the grid - they are are most likely too close.
Have fun with it
Attached File(s)
Steady Gold BET.ex4
27 KB
|
209 downloads
Attached File(s)
Steady Gold BET.mq4
18 KB
|
262 downloads
A good man knows his limitations ~ Clint Eastwood