ChrisMoody

Found $13K Profit-Simple Strategy-Highlights Days Of The Week

See 1st Chart Post For Specific Details. Custom Indicator Highlights Bars for Specific Days of Week. Works on Daily Charts and Intraday Charts. Option to Highlight One Day or Multiple Days.

開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
//Created By ChrisMoody on 5-2-2014
//Colors Bars for Forex Monday-Friday
study("CM_DayOfWeek_Forex", overlay=true)
disMon = input(false, title="Highlight Monday?")
disTue = input(false, title="Highlight Tuesday?")
disWed = input(false, title="Highlight Wednesday?")
disThur = input(false, title="Highlight Thursday?")
disFri = input(false, title="Highlight Friday?")

isMon() => dayofweek == sunday and close ? 1 : 0
isTue() => dayofweek == monday and close ? 1 : 0
isWed() => dayofweek == tuesday and close ? 1 : 0
isThu() => dayofweek == wednesday and close ? 1 : 0
isFri() => dayofweek == thursday and close ? 1 : 0

barcolor(disMon and isMon() ? (isMon() ? yellow : na) : na)
barcolor(disTue and isTue() ? (isTue() ? fuchsia : na) : na)
barcolor(disWed and isWed() ? (isWed() ? gray : na) : na)
barcolor(disThur and isThu() ? (isThu() ? orange : na) : na)
barcolor(disFri and isFri() ? (isFri() ? aqua : na) : na)