NexusFi: Find Your Edge


Home Menu

 





convert think or swim to nt8 indicator


Discussion in NinjaTrader

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




 
Search this Thread

convert think or swim to nt8 indicator

  #1 (permalink)
 planetmoto 
freasno, ca usa
 
Experience: Advanced
Platform: ninja trader
Trading: forex
Posts: 104 since Apr 2013
Thanks Given: 51
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?
Strategy stop orders partially filled
EasyLanguage Programming
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
Quantum physics & Trading dynamics
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
16 thanks
GFIs1 1 DAX trade per day journal
12 thanks
EG Indicators
11 thanks
  #2 (permalink)
 DaveS 
Uxbridge UK
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 21 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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts