FX:EURUSD   Euro / Dolar A.S.
//@version=2
study("The Cyzner Sauce 2.0",overlay=true)

isHigherHigh() => high>high and high>high and close>close and close>close and close>open and close>open and close>open and low>open and low>open and (open+low)<(open+close)
barcolor(isHigherHigh()? #673ab7 :na)
barcolor(isHigherHigh()?#673ab7 :na, -1)
barcolor((isHigherHigh() and close>open)? #673ab7 :na, -2)


isLowerLow() => low<low and low<low and close<close and close<close and close<open and close<open and close<open and high<open and high<open

barcolor(isLowerLow()? yellow :na)
barcolor(isLowerLow()? yellow :na, -1)
barcolor((isLowerLow() and close<open)? yellow :na
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.