FX:EURUSD   ยูโร / ดอลลาร์สหรัฐฯ
//@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
คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ