DataProfile New to ToS

I

imnobody

Member
https://tlc.thinkorswim.com/center/reference/thinkScript/Functions/Profiles/DataProfile.html

New to ToS is this DataProfile function, has anyone tried anything with it yet? This looks to be a really great addition that will allow for some awesome indicators to come about. I already can see some adaptions with the RSI one that's included

declare lower;

def rsi = reference RSI();
def condition = GetYear() != GetYear()[1];

profile CustomProfile = DataProfile(data = rsi, onExpansion = no, startNewProfile = condition);
CustomProfile.Show();

plot POC = CustomProfile.GetPointOfControl();
 
Thread starter Similar threads Forum Replies Date
D Convert Stockfetcher.com scanner code to TOS Questions 2
L TOS Strategy Backtesting help Questions 13
P Help with TOS code - Only One Signal at a Time Questions 2
K How do I draw support and resistance zones properly in TOS? Questions 4
J Sounds in TOS Questions 4

Similar threads

Top