Price to stay above 100-bar moving average for 20 bars for EA New comment kentaicm 2019.05.14 14:55 Hi, How do I code this? I want to have a system that will sell when price crossed below its 100-bar moving average and the price must stay above its 100-bar moving average for more than or equal to 20 bars Thanks in advance. How to define how can I change indicator color ? Moving Average William Roeder 2019.05.14 17:24 #1 kentaicm: How do I code this? For the last 20 bars compare Low vs MA. Show us your code and state the problem. New comment
Hi,
How do I code this? I want to have a system that will sell when price crossed below its 100-bar moving average and the price must stay above its 100-bar moving average for more than or equal to 20 bars
Thanks in advance.