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 DavidHP with 1 posts (0 thanks)
    3. looks_3 traderwerks with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 1,857 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?
Would a node-based workflow for automated trading be useful?
Traders Hideout
Ninjatrader users - good CONNECTIONs post and article fr …
NinjaTrader
Without Pulisic, USA 61.5% Live vs. Australia -- France …
Prediction Markets & Event Contracts
Datafeed for Atas
Platforms and Indicators
No book, only a stair: journaling fills where price move …
Cryptocurrency
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Want your NinjaTrader indicator created, free?
5 thanks
Denied 20K payouts: Alpha Futures
1 thanks
FootPrintV2 Chart for NT8
1 thanks
BERN ALGOS algo trading journal
1 thanks
Afternoon-close session
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,825 since Aug 2009
Thanks Given: 11,784
Thanks Received: 3,051

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