NexusFi: Find Your Edge


Home Menu

 





TOS Watchlist custom column


Discussion in Stocks and ETFs

Updated
    1. trending_up 2,520 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 trendfriendpa 
philadelphia USA
 
Experience: Intermediate
Platform: TOS, Webull, Ninja 8
Broker: TD Ameritrade
Trading: options, ES/NQ futures, stocks
Posts: 81 since May 2011
Thanks Given: 54
Thanks Received: 53

I have a modified KST study which I would like to have a custom watchlist column showing
white when above the cyan line and cyan when below the cyan line (sshot attached)

Also - could a custom filter be coded for using with a scan?

here is the code link - https://tos.mx/mA0L0xO

as well as the code itself



# Martin Pring's KNOW SURE THING (KST) Indicator
# Daily KST Simple Moving Average
# Writen by Mike Wilgus
# fxmike.blogspot.com
#modified by "trendfriendpa"
# ------------------------------------------------
declare lower;

#--Input variables
input rocLength1 = 4;
input rocLength2 = 9;
input rocLength3 = 18;


def sumRocLength = rocLength1+rocLength2+rocLength3;
def avgLength1 = 6;
def avgLength2 = 6;
def avgLength3 = 9;


#--Calc ROC - RateOfChange(length, color norm length, price)
def ROC1 = RateOfChange(rocLength1, rocLength1, close);
def ROC2 = RateOfChange(rocLength2, rocLength2, close);
def ROC3 = RateOfChange(rocLength3, rocLength3, close);


#--Plot lines
plot zeroLine = 0;

plot fastKST = (Average(ROC1,avgLength1)*(rocLength1/sumRocLength))+
(Average(ROC2,avgLength2)*(rocLength2/sumRocLength))+
(Average(ROC3,avgLength3)*(rocLength3/sumRocLength));

plot slowKST = Average(fastKST,rocLength1);


#--Set Colors and Style
zeroLine.SetDefaultColor(GetColor(7));
fastKST.SetDefaultColor(GetColor(5));
fastKST.SetStyle(Curve.LONG_DASH);
slowKST.SetDefaultColor(GetColor(1));


Attached Thumbnails
Click image for larger version

Name:	KST V3.jpg
Views:	334
Size:	27.2 KB
ID:	278531  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Warsh Confirmed 54-45 on PPI Day -- 97% Say He Holds in …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
The Feds Stagflation Trap -- Negative Payrolls, $91 Oil, …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
23 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks




Last Updated on October 29, 2019


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts