FX:EURUSD   Euro / USA-dollar
//@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
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.