NexusFi: Find Your Edge


Home Menu

 





Help with ToS Indicator defaults


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
 
DavidBodhi's Avatar
 DavidBodhi 
Milwaukee, WI, USA
 
Experience: Intermediate
Platform: NinjaTrader, thinkorswim
Trading: Equities, stocks
Frequency: Many times daily
Duration: Seconds
Posts: 210 since Oct 2014
Thanks Given: 23
Thanks Received: 210

I was hired to take ToS code for a couple of candlestick patterns and create a Ninjatrader indicator that would do the same.

The code I was provided listed a number of variables and ToS functions, without providing explicit values for them. I researched online for the default values of those variables and functions, as I don't have a ToS account.

My client has said the indicator doesn't mark the same spots in Ninjatrader as get marked in ToS.

I am wondering if there is someone here willing to look up the following and provide me with ToS default values. Or let me know if they don't exist in an out-of-the-box ToS installation.

Here they are:

Average candle body = average of previous 20 candle bodies
Shadow factor = .75
IsAscending = Current close > candle body mid-point 2 bars ago
IsDescending = Current close < candle body mid-point 2 bars ago
IsDoji = Current candle body <= Candle body average x .05

Among the candle patterns he wanted indicated is OneBlackCrow. I found several definitions online, though the differences were slight. If there's a definition of OneBlackCrow within a ToS indicator, I'd appreciate seeing that code, as well.

In case my client's ToS indicators have non-default values, if you can tell me how to check those values (so I can tell him to look), I'd really appreciate it.

Thanks, all.


Follow me on X Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
EA
Platforms and Indicators
Trump Media to sell instant access to market-moving soci …
Traders Hideout
No book, only a stair: journaling fills where price move …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
Johnnys Journal
2 thanks
TopStep Trader disappointment
2 thanks
  #2 (permalink)
 TrendTrader5 
Atlanta,Georgia
 
Experience: Advanced
Platform: NinjaTrader
Broker: NinjaTrader
Trading: ES
Frequency: Several times daily
Duration: Minutes
Posts: 2 since May 2010
Thanks Given: 0
Thanks Received: 3

To check for these values in TOS, go to Learning Center => Technical Analysis, thinkscript=>functions=>Technical Analysis

The list includes ISAscending, ISDescending (default length is 3), BodyHeight, MidBodyValue...

Example given:

Input Length = 12;
AverageBodyHeight = Average(BodyHeight(), 12);


Reply With Quote
Thanked by:
  #3 (permalink)
 
DavidBodhi's Avatar
 DavidBodhi 
Milwaukee, WI, USA
 
Experience: Intermediate
Platform: NinjaTrader, thinkorswim
Trading: Equities, stocks
Frequency: Many times daily
Duration: Seconds
Posts: 210 since Oct 2014
Thanks Given: 23
Thanks Received: 210



TrendTrader5 View Post
To check for these values in TOS, go to Learning Center => Technical Analysis, thinkscript=>functions=>Technical Analysis

The list includes ISAscending, ISDescending (default length is 3), BodyHeight, MidBodyValue...

Example given:

Input Length = 12;
AverageBodyHeight = Average(BodyHeight(), 12);

THANK YOU!


Follow me on X Started this thread Reply With Quote




Last Updated on July 25, 2020


© 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