Shayan Lotfi / Publications
Forum
Problem with automatic indicator removal when running on new charts in MetaTrader 4
Hello friends, I am developing an indicator that initially displays three vertical lines in the middle of the chart. These lines are calculated and drawn based on the number of candles on the chart (i.e. the middle of the chart). The indicator works correctly on fully loaded charts. However, when I
Object deletion problem
Hello everyone I use this code to draw SL and TP lines. I have two problems: 1) I can't continue the lines until Time < Time[i]; For Example : Time[i-10] 2) Each time the indicator signals, the previous lines are not deleted to be displayed for the next signal. But this happens when the timeframe
Problem with the small Ichimoku Komu cloud detection mql4 indicator
Hello everyone I developed an indicator that detects clouds with up to 17 candles and displays a buy or sell indicator on the chart if found. When I compile this indicator it works fine, but when a new candle appears the loop doesn't work. please guide me. Thanks