New York, NY/US
Posts: 1 since Jun 2012
Thanks Given: 0
Thanks Received: 0
|
Hello,
I am trying to make a Signal in EL based on the MACD. I have used the code from a different Post here to get the MACD and all the Variables running. I am unsure yet how to adress exactly the elements that I need within the Indicator.
Code Used for MACD:
Inputs:FastLength(26),SlowLength(12),MacdLength(9);
MyMACD = MACD( Close, FastLength, SlowLength ); //Code Snippets regarding MACD copied from Forum
MACDAvg = XAverage( MyMACD, MACDLength );
MACDDiff = MyMACD - MACDAvg ;
What I need to program is a signal that triggers a buy one bar after the histogramm has peaked.
I have just begun learning EasyLanguage and this is given me headaches as I dont know how to properly define the necessary condition to make this happen.
If anybody could help em it'd be greatly appreciated.
|