Forum

How to modify the repaint of an indicator

Hi ,friend , i have a indicator , but it is repaint ,how to not repaint ? Following is the source code: #property copyright "whoever" #property link "whatever" #property indicator_separate_window #property indicator_buffers 5 #property indicator_color1 LimeGreen #property

In different currency pairs, the function ibarshift has different results

hello friend , Recently, I encountered a very confused problem. int year = TimeYear(TimeCurrent()); int month = TimeMonth(TimeCurrent()); int day = TimeDay(TimeCurrent()); string s = (string)year + "." +(string)month + "."+(string)day + " " + (string)00+":00"; datetime firstBarTm =

Why no trading signal?

Why there is no trading signal? I follow the article produced by ea: https://www.mql5.com/en/articles/171 chart euruse 1m. Code used downloaded. why