工作已完成
指定
Hi Guys I'm looking for help writing an EA to run on MT4. This looks like a very basic EA that would probably be useless in the spot market but I want it to run via a bridge to Binary options where it works well. The only indicator is Bollinger Bands at 20 with a deviation of 2.5. I'm running 1 minute charts with 1 minute expiry and on 5 minute charts with 5 minute expiry. Trading takes place from 08:00 to 17:00 GMT.
OK, so the idea is that if a bar closes above the top Band we immediately open a sell trade and conversely if a bar finishes below the bottom Band we immediately open a buy trade. As discussed, if we are on a 1 minute chart the trade closes after 1 minute, and if on a 5 minute chart the trade closes after 5 minutes.
I need to be able to change the trade size in the settings area of the EA.
There is a limited Martingale element in there too. If a trade loses, then when the next signal is generated the trade size is 2.33 times the size of the original trade. If this trade wins we revert back to the original trade size for the next trade. If this second trade loses, then once again when the next signal is received the trade size is 2.33 times the previous one. (example would be $25 standard trade, $58.25 second trade, $135.72 for the third). IMPORTANT: If the 3rd trade wins we revert back to the original trade size for the next signal and also if it loses, we take the hit and again on the next signal we revert back to the original trade size.
That's it! The only other part I'm working on is the possibility of a "pause" element which might force the EA to wait a fixed period of time after a losing trade before taking any new signals, but that can be done later.
I THINK this is a simple adaptation of something that's probably already out there. Anyone help me out with it for $50?