MACD_Mirror Indicator Conversion to EA
Posted: Sun Mar 27, 2011 2:57 pm
Hello people
This is an indicator I found and have tried to convert to an EA, The indicator signals a buy/sell when Its MACD calculated line crosses up/down a '0' line value, hence it is an ''Always in the Market'' type of system...
My concept is initiating a buy when MACD value is above 0 and subsequent exit when value returns to 0, AND Sell when MACD value is below 0 and subsequent exit when it returns back to 0.
Although there are 3 MACD lines in the indicator, only one labelled''MACD'' is considered useful in my coding.
Currently only 'buy 'signals are filled, 'sell' and 'exits' are a no no...
The Indicator and my current progress on the EA are attached below, any contributions would be much appreciated, thanks.
This is an indicator I found and have tried to convert to an EA, The indicator signals a buy/sell when Its MACD calculated line crosses up/down a '0' line value, hence it is an ''Always in the Market'' type of system...
My concept is initiating a buy when MACD value is above 0 and subsequent exit when value returns to 0, AND Sell when MACD value is below 0 and subsequent exit when it returns back to 0.
Although there are 3 MACD lines in the indicator, only one labelled''MACD'' is considered useful in my coding.
Currently only 'buy 'signals are filled, 'sell' and 'exits' are a no no...
The Indicator and my current progress on the EA are attached below, any contributions would be much appreciated, thanks.