Kod bilgisi...
https://www.tradingview.com/study-sc.../#fun_security
Altdaki yorumları oku...
https://www.tradingview.com/script/y...-VX3-Strategy/
---------------------------------------
Piriod=input('720')
ch1 = security(tickerid, Piriod, open)
ch2 = security(tickerid, Piriod, close)
longCondition = crossover(security(tickerid, Piriod, close),security(tickerid, Piriod, open))
if (longCondition)
strategy.entry("BUY", strategy.long)
shortCondition = crossunder(security(tickerid, Piriod, close),security(tickerid, Piriod, open))
if (shortCondition)
strategy.entry("SELL", strategy.short)
------------------------------
Sadece bu satırlar
işlevsel,digerleri
karalama....
Alt resimdekinden farklı birşey degil gibi geldi bana..
Sizin farklı bir fikriniz varsa,gözümden
(tek) kaçan birşeyler varsa yazınız...
Yer İmleri