NexusFi: Find Your Edge


Home Menu

 





TMV for NT7


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one marketvoyager with 2 posts (0 thanks)
    2. looks_two traderwerks with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 DavidHP with 1 posts (0 thanks)
    1. trending_up 1,787 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 marketvoyager 
Florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 110 since Sep 2014
Thanks Given: 60
Thanks Received: 20

Can somebody code the TMV for NT7? Its on thinkorswim. The code looks like this on thinkscript.

input price = close;
input keltnerLength = 13;
input volumeFastLength = 1;
input volumeSlowLength = 20;
input ADXLength = 10;
input SMALength = 8;
input volumeOscThreshold = 0.5;
input paintBars = yes;

def keltnerSMA = Average(hlc3, keltnerLength);
def avgRange = Average(high - low, keltnerLength);
def volumeOsc = reference VolumeOsc("fast length" = volumeFastLength, "slow length" = volumeSlowLength, "diff type" = "percent");
def ADX = reference ADX(ADXLength, AverageType.WILDERS);
def SMA = Average(price, SMALength);

plot KeltnerHigh = keltnerSMA + avgRange;
plot KeltnerMid = keltnerSMA;
plot KeltnerLow = keltnerSMA - avgRange;
plot VolumeSpike = volumeOsc > volumeOscThreshold;

KeltnerHigh.SetDefaultColor(GetColor(4));
KeltnerMid.SetDefaultColor(GetColor(4));
KeltnerMid.SetStyle(Curve.LONG_DASH);
KeltnerLow.SetDefaultColor(GetColor(4));
VolumeSpike.SetDefaultColor(GetColor(1));
VolumeSpike.SetLineWeight(3);
VolumeSpike.SetPaintingStrategy(PaintingStrategy.BOOLEAN_POINTS);

DefineGlobalColor("Up", Color.UPTICK);
DefineGlobalColor("Neutral", Color.GRAY);
DefineGlobalColor("Down", Color.DOWNTICK);
AssignPriceColor( if !paintBars
then Color.CURRENT
else if ADX > ADX[1] and price > SMA
then globalColor("Up")
else if ADX > ADX[1] and price < SMA
then globalColor("Down")
else globalColor("Neutral"));


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Iran Airspace Contract Surges to 33.5% as Project Freedo …
Prediction Markets & Event Contracts
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
S&P 500 Holds the Line: No Fast Track for SpaceX, Op …
Stocks and ETFs
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 traderwerks   is a Vendor
 
Posts: 688 since Jun 2009
Thanks Given: 436
Thanks Received: 466



marketvoyager View Post
Can somebody code the TMV for NT7? Its on thinkorswim. The code looks like this on thinkscript.

Looks pretty straight forward. Have you thought about using it as a learning exp. and writing it yourself ?


Math. A gateway drug to reality.
Reply With Quote
  #4 (permalink)
 marketvoyager 
Florida
 
Experience: Beginner
Platform: NinjaTrader
Trading: ES
Posts: 110 since Sep 2014
Thanks Given: 60
Thanks Received: 20


traderwerks View Post
Looks pretty straight forward. Have you thought about using it as a learning exp. and writing it yourself ?

No, I am terrible with coding, too many details and room for errors, cannot even figure out how to set the environment variables for the gom recorder on windows.


Started this thread Reply With Quote
  #5 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: NQ / ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,817 since Aug 2009
Thanks Given: 11,767
Thanks Received: 3,043

Stocks And Comodities - February 2012 - Trade Breakouts and Retracements With TMV


Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on X Reply With Quote




Last Updated on October 31, 2015


© 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