PROTECTED SOURCE SCRIPT

TheStratFTFC

9 377
Based on Rob Smith's TheStrat, indicates full time frame continuity

Will plot an indicator for all timeframes from 1 min up to 1 year with triangles to signify if the current price is above or below the open of that timeframe.
When all timeframes are above their respective opens, the FTFC will indicate a green up triangle
When all timeframes are below their respective opens, the FTFC will indicate a red down triangle

There are also indicators for Intraday, Swing, and Long Term FTFC
Intraday timeframes include 1 min to 1 hour
Swing timeframes include 1 hour to 1 month, on by default
Long Term time frames include 1 week to 1 year

There is an option to plot horizontal lines or show prices where the above 3 will become FTFC either red or green
Option to flip the order of the indicators and move them horizontally on the screen
On the settings > style tab, you can deselect timeframes you wish to hide

Limitations of script (due to pinescript):
Only the timeframes higher than or equal to the one shown on the chart will be included in the indicators. Pinescript does not allow indicators to use timeframes below the current chart's timeframe.
eg. the Intraday Timeframe FTFC indicator will show FTFC (green up triangle) if the chart is on the 1 hour timeframe and the close is above the hourly open EVEN IF the 15 minute price is below the 15 min open
- essentially, if you want to exclude timeframes, pick the lowest timeframe where you want the FTFC indicator to work

Any questions, let me know!
gkjch

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.