Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I am looking for someone that can help me create an EA based on Heiken Ashi MA indicator.
Here is a list of the requirements:
MaMetod: 1
MaPeriod: 15
Timeframe: 4H
blue=>long, red=short
LONG when ashi Bar is BLUE, exit when ashi Bar is RED
SHORT when ashi Bar is RED, exit when ashi Bar is BLUE
No Stop Loss, No TP Target
for example --- GBP/USD:
if current ashi bar BLUE at 0.00 GMT (2.000), the EA place LONG order at 2.000.. then at 8.00GMT the ashi bar turns RED (1.9950), close the trade at 1.9950 with -50pips loss. At the same time place SHORT order at 1.9950, then at 16.00GMT the ashi bar turns BLUE (1.9850), close the trade at 1.9850 with 100pips profit, at the same time place LONG order at 1.9850
I have attached a simple EA based on your strategy.
If you back or forward test it you'll see that things are not that simple.
You'll need to find a better exit strategy (i.e. trailing stop or take profit plus a stop loss).
How can I make this EA to close previous trade and open new trade at only the first BAR.
Example;
GBP/USD
The previous Bar is RED.. previous trade is SHORT. Now it turns BLUE at open price 1.8550.. the EA close the previous trade at 1.8550 and place new LONG trade at 1.8550.
It must works for the first bar only.. Not in the middle. I mean: previous RED bar to new BLUE bar , where at this new bar must have trade close and open.
Not previous RED bar to new RED bar , or, previous BLUE bar to new BLUE bar (that means no trade at this new bar).
for the heiken ashi stratergy, when a bar goes from red to blue - buy but set a stop X pips away and leave it until it is hit or a TP is hit (this way youll avoid whipsaws of red/blue/red/blue buying and selling) like http://www.moneytec.com/forums/f14/a...-trader-21875/
for the heiken ashi stratergy, when a bar goes from red to blue - buy but set a stop X pips away and leave it until it is hit or a TP is hit (this way youll avoid whipsaws of red/blue/red/blue buying and selling) like http://www.moneytec.com/forums/f14/a...-trader-21875/
I like the SL/TP idea, but please elaborate on the entry after TP or SL is hit.
Say the previous bar was RED and the new one is BLUE - the EA goes long, but hits SL (meanwhile the bars remain BLUE) - What do we do? Wait till the bars shift into RED or re enter with the HA trend? What if we hit TP instead of SL?
It is no problem for me to code any EA as long as I have the correct formula/algorithm for it.
I like the SL/TP idea, but please elaborate on the entry after TP or SL is hit.
Say the previous bar was RED and the new one is BLUE - the EA goes long, but hits SL (meanwhile the bars remain BLUE) - What do we do? Wait till the bars shift into RED or re enter with the HA trend? What if we hit TP instead of SL?
It is no problem for me to code any EA as long as I have the correct formula/algorithm for it.
read over the thread, he explains the idea very well.