Техническое задание
I want to convert this code or indicator (TradingView) into an mt4 indicator with smooth performance (no lagging issue)
I wish to add some specifications :
1- Two horizontal lines set as defult, one line at level 7 and the other at level 6
2- If the line crosses the level 7 (Upward) then the line will chnage color to PURPLE
3- If the line crosses the level 6 (Upward) then the line will chnage color to GREEN
4- If the line crosses the level 6 (Downward) then the line will chnage color to RED
5- We should be able to modify the Colors & the Levels of these lines as settings)
6-please, make sure it display with no issue in weekly and monthly chart (whather by taking weekly & monthly info from the scource website or taking the average of daily candles)
I wolcome any ideas to make this indcator easier to use.
pic :
CODE :
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Mukiedus
//@version=4
study("EVZ Chart")
EVZrate = security("EVZ", "D", close[1])
hline1 = input(6,"Horizontal Line 1", input.integer)
hline2 = input(8,"Horizontal Line 2", input.integer)
plot(EVZrate,color=color.blue)
plot(hline1,color=color.white)
plot(hline2,color=color.white)
ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ