Coloring Bars if lower than SMA1 & Higher than SMA2
Created at 01 Apr 2017, 19:55
NA
Coloring Bars if lower than SMA1 & Higher than SMA2
01 Apr 2017, 19:55
Hello everyone,
I'm pretty new to C# programing, & i tried to recreate my TradingView indicator in cTrader.
What I want to achieve: If a candle opens below my fast SMA & close above or equal to fast SMA it get a distinc color.
When I try to solve it I got the folllowing error message: Error CS0019: The following operator cannot be applied „double” and „cAlgo.API.IndicatorDataSeries” type operands: „>”.
Is there any solution for this?
Thank you in advance,
Matt