Lavoro terminato
Specifiche
Please first study the attached Screenshot to get an idea what I am looking for.
Its a very simple EA based on the Daily Candles of 100 pips or whatever user defined.
If the daily candle closes with a range of 100 pips or whatever user defined pips, it should open a trade at the open of the new daily candle, that is the next days daily candle
If the Trade Running Candle is set to True then it should open a Buy Order
If the Trade Running Candle is set to False then it should open a Sell Order
If a candle closes on Monday say 100 pips then on Tuesday it should open a Sell Order (If the Trade Running Candle is set to False) and if the TP is not hit and the market reverses
and also on Tuesday the candle closes with 100 pips range, then one more Sell order is generated. Now there are two Sell Trades running.
When the profit on the last candle is a little bit greater or the same as the total loss, then both trades to be closed.
The end result to be a Break Even or a little profit.
Example in the Attached Image.
On the right you can see a Red Candle with a Red Arrow on top of it. This is the candle that closed with 100 pips.
At the open of the new candle a Buy Trade was opened in the opposite direction. The TP was set at 20 pips, but the market did not go up
instead the market continued down and the trade is running in a loss.
Now a new candle will open tomorrow and the EA will generate one more new Buy order. If the Market reverses and goes up then when to total
profit is the same as the loss or a little bit higher, the EA will close both trades. The End result will be eith a Break Even or a little profit.
Here are the EA Settings:
Magic Number: User Defined
Maximum Spread : 4 pips
Lot Size: User defined from 0.01 to 10.00 lots
TP User Defined : 10 pips to 100 pips
Stop Loss to be added too: User Defined.
Candle Size : User Defined
Trade Running Candle: TRUE: It will place Buy Orders only.
Trade Running Candle: FALSE: It will place Sell Orders only.
The EA should also have the Password Protect by Account number ansd expiry date
Thanks