|
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 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.
|