ZenAndTheArtOfTrading

Trading Session Indicator

This indicator is basically just a back-testing tool. All it does is highlight the background of your charts with the specified color within the specified timezone.

This is useful particularly for back-testing purposes, such as testing a day-trading strategy within a particular period of the day or ignoring signals that fall within the given timeframe (which is useful for ignoring setups during your testing that appear while you're asleep or at work etc.)

Take it easy :)
- Matt.
發布通知: Minor improvements
發布通知: Added alert functionality
發布通知: Added "end of session" alert functionality
發布通知: Fixed end of session alert
發布通知: Updated alert functionality
發布通知: Added ability to hide background color on a separate timeframe
發布通知: Added an option to hide this indicator on the 4HR timeframe, Daily, Weekly and Monthly
發布通知: -
- Converted to Pine Script v4
從常用腳本中移除 新增至常用腳本
Follow @TradeWisdom on Twitter for Daily inspiration from the best trading wizards, psychologists and philosophers.

Go to http://www.zenandtheartoftrading.com for articles on forex trading, trading psychology, trading resources, Pine Script lessons and more!

評論

Hey nice indicator, Im using this for trading cfd, since cfd runs 24hrs and the actual market only opens in the day. Im setting the time to highlight the actual day opening hours but its not using my local time i set in tradingview, is there a quick fix for this?
+1 回覆
@traderbyday, Oh man, I wish there was! I have the same problem on all my scripts. I'm not aware of a quick fix unfortunately. It might be worth sending the TradingView support team a ticket if it's really bothering you, they have fixed a number of things on the platform like that when I've sent them requests. Good luck with your trading brother :) Sorry I couldn't be of more help.
回覆
Thanks for this its going to help my back-testing enormously!
+1 回覆
@SAMIR_G11, You're welcome man, good luck with your testing!
回覆
This is awesome. You pretty much nailed all the features one could think of. The weird thing is that if I set it too wide then I get a an internal server study error. As soon as I change a setting in the settings menu, it comes right up, no problem. Not sure how to resolve the initial server study error though.
回覆
kurtsmock kurtsmock
@kurtsmock, I think I figured it... my mistake
回覆
Script not working properly. It zooms out wayyy to much when I add the script.
回覆
@NoahKhan, Not sure what you mean, it appears to be working fine on my end:

Can you please send me a screenshot example? It should not affect your chart zoom at all unless it's some kind of TradingView bug
回覆
NoahKhan ZenAndTheArtOfTrading
@ZenAndTheArtOfTrading, I figured it out, under style I had to uncheck "Plot" if the box is checked when I add it it looks like this:
回覆
Hi, thanks for the script!
Is it possible to make it invisible on timeframes higher than 1H for example
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 代幣 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出