I have created a indicator which works fine, basically the indicator is a MACD modify, painting a Plot.Style.Dot called Dot123 when some conditions in the macd happen.
Now I want to use this Dot123 in my strategy. If the dot appears...
if (MACD2.Dot.... i don't know... ){ .....}
I am not able to do it, so I added in my MACD2 a bool when the Dot123 is created, making easy move it the strategy
if(MACD2.mybool == true) {... }
But the strategy doesn't compile.
I will appreciate some help in both cases, but I believe the bool case would be easier.
Thanks
Comment