NexusFi: Find Your Edge


Home Menu

 





convert think or swim to nt8 indicator


Discussion in NinjaTrader

Updated
    1. trending_up 1,061 views
    2. thumb_up 4 thanks given
    3. group 8 followers
    1. forum 1 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 planetmoto 
freasno, ca usa
 
Experience: Advanced
Platform: ninja trader
Trading: forex
Posts: 105 since Apr 2013
Thanks Given: 52
Thanks Received: 85

# One-Day Reversal Pattern
# Defined by Jesse Livermore

def LongReversal = Low < Low[1] and Close > Close[1] and Volume > Volume[1];
def ShortReversal = High > High[1] and Close < Close[1] and Volume > Volume[1];

plot UpArrow = if LongReversal then low - .0 else Double.NaN;
UpArrow.SetDefaultColor(Color.GREEN);
UpArrow.SetPaintingStrategy(PaintingStrategy.ARROW_UP);

plot DnArrow = if ShortReversal then high + .0 else Double.NaN;
DnArrow.SetDefaultColor(Color.RED);
DnArrow.SetPaintingStrategy(PaintingStrategy.ARROW_DOWN);

# end


Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
March Jobs Report Update: 178K Beat vs 59K Expected, Wag …
Traders Hideout
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
Eurex Eyes Prediction Markets -- Europes Biggest Derivat …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 DaveS 
Uxbridge UK
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 22 since Sep 2012
Thanks Given: 2
Thanks Received: 17

Am not familiar with Think or Swim code but this code implements Jesse Livermore's One Day Reversal Pattern.


Attached Files
Elite Membership required to download: OneDayReversalPattern.zip
Reply With Quote
Thanked by:




Last Updated on August 13, 2023


© 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