1 (edited by Harry 2017-12-02 15:22:39)

Topic: Error: Moving Average

could you please check if this function works correct or if it is just a typing error.
IMHO the bar should close above the MA after opening below it.
THX Harry


Re: Error: Moving Average

In my end everything is OK. Maybe you think this sentence should do something different? Or maybe you mix MA with different indicator average, I can seen you have something more in your strategy smile

Re: Error: Moving Average

Have a close look on the picture.
"The bar opens above the MA after opening below it"
IMHO this is a contradiction in itself.
I am talking about the same bar which opens below and closes above the MA.

Re: Error: Moving Average

well yes, you are right, it would be better use of "close" above, because it is not clear now that that the talk goes about 2 nearby bars.