TradingView
rickyzcarroll
5 Th07 2021 23:05

Strat Assistant 

Mô tả

Strat Assistant
This script will help you follow the strat.  While other collections of scripts exist to do similar functionality, the idea of this (work in progress) is to be a one stop shop for all things strat that will evolve over time. Fairly new to the strat and pine script.  The script is for informational purposes only.  Please do you due diligence.

Features:
=Candle numbering: will number candles underneath based on the prior candle.  1 for an inside bar 2 for a directional bar (up or down) and 3 for an outside bar. 
=Candle coloring: will highlight candles.  Yellow for an inside candle, magenta for an outside candle, red for a 2 down candle, green for a 2 up candle.  It will not modify the outside border of the candle so you can still see green if the open was lower than the close or red if the close was below open.  
=Candle shape: will place an arrow up if the 2 candle is a directional UP and arrows down if the 2 candle is a directional DOWN.  It will display red if it's bearish and green if it's bullish.  
=Strat combos: will provide a text description of all currently applicable strat combinations if they are active at the top right of the chart. It will display red if it's bearish and green if it's bullish.  
=Actionable signals: will provide text description of actionable signals if they are active on the bottom right of the chart. Inside bar if the bar is inside the prior bar, the color of this signal will be blue (shows better on white background). Hammer will be 75% of the candle is at the bottom and the open and close are above the 75% of the wick. Hammers will display green for bullish. Shooters are just the opposite of hammers, 75% of the wick is at the top and the open and close are below 75% of the wick. Shooters will display at red for bearish.
=Time Frame Continuity: will provide time frame continuity across 15m, 30m, Hour, Day, Week, Quarter, Year with green arrows up if the close is above the open for the given time frame, or red arrows down if the close is below the open for the given time frame. This will also look to determine if the time frame is applicable based on what time frame the user selects as well as ensures history exists for the given time frame.

Backlog / Work in progress:
=Opacity for time frame continuity
=Line indicators (or maybe just a label) for highs and lows of previous periods (hour, day, week, quarter)
=Alert conditions
=User input for various indicators

Phát hành các Ghi chú

v2 Updates

-Made the actional wick percentage an input. Users can change the hammer/shooter percentage to whatever they like (default is 75% of the candle is a wick or 3/4ths)
-Added in previous day high and low lines that can be turned on and off with user input (defaults to ON) and the colors can be changed as well. Defaults high is LIME (close to green), low is MARRON (close to red). This will only display if in intraday or daily (doesn't show if you are looking at anything above a day)
-Added in previous week high and low lines that can be turned on and off with user input (defaults to OFF) and the colors can be changed as well. Default high is ORANGE, low is PURPLE. This will only display if in intraday or daily or weekly (doesn't show if you are looking at anything above weekly)
-Cleaned up full time frame continuity issues - trading view has issues with the period you are selecting vs the period in which to get details. Attempt at a cleanup.
-Added an optional debug flag that can be turned on and off with user input (defaults to off) that will display the values for current high/low of day and week.

Phát hành các Ghi chú

-Put candle coloring back (it looks cleaner with the colors red and green for 2U green and 2D red, can see open and close with border)
-Clean up FTC again, isintraday is a tricky one, 15M time frame works now
-Clean up the chart picture

Phát hành các Ghi chú

-Ran into some limitations of PINE SCRIPT, can only map/plot 64 items. Various cleanup below. May end up splitting this script eventually for performance and added functionality.

=[Removed]
-Got rid of all YEAR indicators. Sorry but something had to go and I don't feel this one provides a ton of value

=[Changed]
-Cleaned up some FTC stuff, was a little buggy before should be better now
-Changed the inside "stuff" (bars, flags, text) to a darker yellow so it shows better on white

=[Added]
-Added Inside / Outside indicators to Full Time Frame. You'll see an O in fuchsia (matches bar) above the corresponding time frame, or IN in darker yellow (matches bar) above the corresponding time frame.
-Added Four Hour time frame as per the request of others

=[Backlog]
-5 minute candle (not sure I can do these... already peaked the limitations of pine script
-Alerts - this will have to be in another script

Phát hành các Ghi chú

Update - getting rid of all "history" checks for full time frame continuity as it is causing issues. If full time frame continuity is the current period... there will always be a current year, quarter, month, week, day, etc. This should resolve all the disappearing issues.
Bình luận
kgdana
I'm just learning thestrat and this is an amazing script. Incredibly thorough and everything you need in one place. Looks like this might be the final version? If you do an updates, an audible alarm would be excellent for certain candles or combos. I do also find the pop-ups useful as well, but an alarm would help while I'm staring at several screens and charts. Thanks again for all the effort to create this.
ejaea
hey man, love you so much for sharing this. Just curious, is this script final? <3
pat_swap
fantastic script and this will help many people...thank you for your great work!! god bless!!
irinakhoi
What an incredible indicator! By any change, do you know how I can have a fixed color for the price label in the scale? Many thanks
chencho21
This is awesome man! I currently use a seperate TFC indicator that shows a yellow circle behind arrow to indicate inside bar for that TF. Here is the script for that if you wanted to do something like that as well... Script is not mine, just something I have used and has been informative.
rickyzcarroll
@chencho21, Yep I've seen it. It's solid work. I wasn't really trying to "steal" someone elses ideas. But I may try to put a spin on it. Been busy over the holiday but I'll get back to adding more functionality to this soon. Thanks for the input.
jgpoints
What do the blue dots that show up here and there indicate?
meechfp
this script is ridiculous, wow. superb best indicator on tradingview.
AmberNinja
Great indicator! Is there a way to turn off the color changing of the candles? It changes my candles to yellow and pink on some of them which is very annoying. I went through the settings but dont see a way to turn that off. Is there a way? Thanks :)
rickyzcarroll
Ha... that's to easily identify OUTSIDE (3) and INSIDE (1) bars. Sounds like you like some of the features but maybe not all of them? I'll try to rip a few things out of it and put them in separate scripts for the masses to pick and choose what they want. But for this one... you can do what you want if you go to settings, styles, set the opacity to 0 for color 1 and 3, or change it to a color you want.
Thêm nữa