I downloaded this simple indicator (attached) that changes the slope color between a rising and falling EMA. I need a little help on how I can detect when it's rising and falling from my strategy. I tried:
private EMASlopeColor EMASlopeInd;
EMASlopeInd = EMASlopeColor(20, Brushes.Lime, Brushes.Red);
AddChartIndicator(EMASlopeInd);
If (EMASlopeInd.IsRising == true)
Print ("IsRising");
But it tells me that IsRising is a method. Can you help point me the right way?
Thanks!
Comment