mercredi 15 février 2017

Need Your Help For Simple AFL

Hello! I need your help. Prompt to me please why this formula doesn't work? When switching a taymfreym in AmiBroker MACD color doesn't change?

Code:

_SECTION_BEGIN("MACD");
i=Interval(0);
if( i==3600 ) // Hourly
Plot( MACD(), _DEFAULT_NAME(), ParamColor("Histogram color", colorRed ), ParamStyle("Histogram style", styleHistogram, maskHistogram ) );
else
{
  Plot( MACD(), _DEFAULT_NAME(), ParamColor("Histogram color", colorGreen ), ParamStyle("Histogram style", styleHistogram, maskHistogram ) );
}
_SECTION_END();



Need Your Help For Simple AFL

Aucun commentaire:

Enregistrer un commentaire