i need two simple EA.
Please an own written simple code and not something from a generator. Lotsize doesnt matter, for this example you can take 0.01. It would be
perfect when this EA works for currencys, raw materials like WTI, Copper and Stocks. (The important ones are currencies). MQ4-Files, so
that i can modify things later to learn
TimeFrame for this example: H1
- the last Candle(1) is an big green candle where Close>Open and the Open and Close are near the Begin and End of the Candle.
- a Buy Order should send when the current price is going over the High of the last Candle (1)
- The SL is the Low of the Candle(1) and the TP - and this is my problem i cannot program it by myself that the the TP should be the Close of the
current Candle (this candle where the position was openend). So maybe you have to use an OderModify when a new bar is open...
- like the buy order - just the other way (red big candle...)...
like Version 1, just with an Break Even Option, so that i can test it with the Strategy Tester to see is it better to move the SL later to the Break