I am creating a four anchored vwap for analysing tops and bottoms ,I made the indicator but the problem is that when I move the anchored line forwared than it's first position it doesn't remove the previous drawn line,But it keeps it with only calculations of the weighted average price for each bar.. is there any way to make the indicator update itself when I move the indicator forward to remove the previous drawn line..
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
I am creating a four anchored vwap for analysing tops and bottoms ,I made the indicator but the problem is that when I move the anchored line forwared than it's first position it doesn't remove the previous drawn line,But it keeps it with only calculations of the weighted average price for each bar..
is there any way to make the indicator update itself when I move the indicator forward to remove the previous drawn line..
I will attach a png for the problem and the code.
This is the code: