Hello,
This EA is loosely based upon the SWB Martingale EA in this thread here. There are enough changes though, that are worth considering.
First of all, I've incorporated the SuperTrend indicator (from this thread) and am basing all the timing upon that. In other words this is the only indicator being used.
I'm also opening pending trades (buystop and sellstop) instead of straight buy and sell orders, where the pending offset (p1_offset and p2_offset) is adjustable. You also have the option to go with straight buy and sell orders by setting the offset to 0 or, less than 5.
I also have it setup in increment mode, instead of using the lot multiplier, plus, each level is setup with its own TP which, once it is hit, it resets, and opens a new trade, and will continue doing so, so long as it's still in range and, how the indicator is used. If, however, you set it to stealth mode, it won't behave this way, and pretty much behave like the original SWB.
Also, with original SWB, the indicator(s) only determined the opening of the first trade. Here, it's determining the opening of all trades on all levels ... although it can be restricted to the first level by setting tier2_sig to false.
That pretty much explains it for now I think, except everything is setup the way I'm currently using it. You can scale it up or down depending upon your preferences. If you wish to use the same settings, I recommend an initial deposit of at least $500 or, whatever currency you're using. I also have the indicator and chart(s) set to M1 time frame and, thus far, it doesn't adversely seem to affect anything. This is something only time will tell though.
It's also setup so you can run multiple instances on more than one pair and chart (adjust lot sizes and profit targets accordingly), plus, I've added the Close_on_Profit EA that I developed here, that will do a global closeall when a specific profit target is reached. It works quite well for this particular application in fact.
Oh, don't forget to put the SuperTrend indicator (SuperTrend.mq4) in indicator folder!
ETA:
This EA is loosely based upon the SWB Martingale EA in this thread here. There are enough changes though, that are worth considering.
First of all, I've incorporated the SuperTrend indicator (from this thread) and am basing all the timing upon that. In other words this is the only indicator being used.
I'm also opening pending trades (buystop and sellstop) instead of straight buy and sell orders, where the pending offset (p1_offset and p2_offset) is adjustable. You also have the option to go with straight buy and sell orders by setting the offset to 0 or, less than 5.
I also have it setup in increment mode, instead of using the lot multiplier, plus, each level is setup with its own TP which, once it is hit, it resets, and opens a new trade, and will continue doing so, so long as it's still in range and, how the indicator is used. If, however, you set it to stealth mode, it won't behave this way, and pretty much behave like the original SWB.
Also, with original SWB, the indicator(s) only determined the opening of the first trade. Here, it's determining the opening of all trades on all levels ... although it can be restricted to the first level by setting tier2_sig to false.
That pretty much explains it for now I think, except everything is setup the way I'm currently using it. You can scale it up or down depending upon your preferences. If you wish to use the same settings, I recommend an initial deposit of at least $500 or, whatever currency you're using. I also have the indicator and chart(s) set to M1 time frame and, thus far, it doesn't adversely seem to affect anything. This is something only time will tell though.
It's also setup so you can run multiple instances on more than one pair and chart (adjust lot sizes and profit targets accordingly), plus, I've added the Close_on_Profit EA that I developed here, that will do a global closeall when a specific profit target is reached. It works quite well for this particular application in fact.
Oh, don't forget to put the SuperTrend indicator (SuperTrend.mq4) in indicator folder!

ETA:
- 12/23/10 .. Added deviation_reset and changed p_target to $3.00 on SWB_SuperTrend EA .... post #11.
- 12/23/10 .. Included update to Close_on_Profit EA .... post #16.
- 12/23/10 .. Fixed deviation_reset, which wasn't working right .... post #17.
- 12/23/10 .. Modified deviation_reset to include first trade only plus added reset_level .... post #28.
- 12/24/10 .. Added shutoff_level to stealth mode .... post #34.
- 12/26/10 .. Changed shutoff_level to curb_level on SWB_SuperTrend EA .... post #44.
- 12/26/10 .. Added manual closeall to Close_on_Profit EA .... post #45.
- 12/29/10 .. Added pend_delete timeout to SWB SuperTrend EA .... post #47.
- 01/07/11 .. Added SWB SuperTrend EA version with manual options .... post #51.
Attached File(s)