I have an EA for gold trading, the idea is from a member of the FF forum.
here is his idea:
Hello, is there any coder who could build an EA that would meet these conditions?
1. When the EA is turned on, the EA immediately starts recording the lowest value of the instrument it is running on and writes this value to the "Global Variable" in MT4 (for example, NSDQ_low=xxxxx.xx)
2. When it reaches 1% upwards, it turns on a long trade. It places the stop loss at the given lowest value that it has recorded in the "Global Variable" so 1% down.
3. When it reaches another 1%, it starts moving the TSL. The EA therefore never actually ends in TP, but always at SL or TSL.
This strategy works perfectly on the Nasdaq Index and believe me, the backtest results will amaze you.
And, here is the EA. (Timeframe: any)
here is his idea:
Hello, is there any coder who could build an EA that would meet these conditions?
1. When the EA is turned on, the EA immediately starts recording the lowest value of the instrument it is running on and writes this value to the "Global Variable" in MT4 (for example, NSDQ_low=xxxxx.xx)
2. When it reaches 1% upwards, it turns on a long trade. It places the stop loss at the given lowest value that it has recorded in the "Global Variable" so 1% down.
3. When it reaches another 1%, it starts moving the TSL. The EA therefore never actually ends in TP, but always at SL or TSL.
This strategy works perfectly on the Nasdaq Index and believe me, the backtest results will amaze you.
And, here is the EA. (Timeframe: any)