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,687 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?
Topstep Acquires The Futures Desk -- Prop Firm Consolida …
Funded Trading Evaluation Firms
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
TradingView Opens Volume Footprint Data to Pine Script - …
TradingView
The Backwardation Signal: How the CL Futures Curve Tells …
Commodities
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #3 (permalink)
 traderwerks   is a Vendor
 
Posts: 688 since Jun 2009
Thanks Given: 436
Thanks Received: 465



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,802 since Aug 2009
Thanks Given: 11,742
Thanks Received: 3,018

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