NexusFi: Find Your Edge


Home Menu

 





Help with ToS Indicator defaults


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,416 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
Trading: Equities
Posts: 209 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?
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 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
Trading: Equities
Posts: 209 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