NexusFi: Find Your Edge


Home Menu

 





Can someone convert this to Ninjascript? (Thinkscript)


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one Big Mike with 1 posts (0 thanks)
    2. looks_two AndrasNagy with 1 posts (1 thanks)
    3. looks_3 adii800 with 1 posts (2 thanks)
    4. looks_4 jonesy73 with 1 posts (0 thanks)
    1. trending_up 2,658 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
AndrasNagy's Avatar
 AndrasNagy 
WOODLAND, CA Yolo
 
Experience: Intermediate
Platform: TWS, StreetSmartEdge
Broker: Interactive Brokers, Schwab
Trading: Options, Mutual Funds, ES
Posts: 22 since Jun 2020
Thanks Given: 15
Thanks Received: 12

# Mobius
# SuperTrend
# Chat Room Request
input AtrMult = 1.0;
input nATR = 4;
input AvgType = AverageType.HULL;
input PaintBars = yes;
def ATR = MovingAverage(AvgType, TrueRange(high, close, low), nATR);
def UP = HL2 + (AtrMult * ATR);
def DN = HL2 + (-AtrMult * ATR);
def ST = if close < ST[1] then UP else DN;
plot SuperTrend = ST;
SuperTrend.AssignValueColor(if close < ST then Color.RED else Color.GREEN);
AssignPriceColor(if PaintBars and close < ST

then Color.RED

else if PaintBars and close > ST

then Color.GREEN

else Color.CURRENT);

AddChartBubble(close crosses below ST, low[1], low[1], color.PINK);
AddChartBubble(close crosses above ST, high[1], high[1], color.LIGHT_GREEN, no);
# End Code SuperTrend

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
is there a better Trade Performance tool for NinjaTrader?
NinjaTrader
Volumetric charts
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC Advanced Simulated Trading.
MultiCharts
Pivot Indicator based on Level2 data
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
HumbleTraders next chapter
46 thanks
Tao te Trade: way of the WLD
45 thanks
What is Markets Chat (markets.chat) real-time trading ro …
41 thanks
ApexTraderFunding.com experience and review
26 thanks
1 Minute Man
19 thanks
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,621 since Jun 2009
Thanks Given: 33,356
Thanks Received: 101,989

You'll probably get a better response here:



Mike



Join the free Markets Chat beta: Real-time Trading Insights

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
adii800
Santa Clara + California/USA
 
Posts: 10 since Feb 2020
Thanks Given: 24
Thanks Received: 5


This is the supertrend indicator by Mobius correct?

I too wanted this on Ninjatrader (8) some time ago and scoured the web and eventually found the attached file.

Can't remember the exact source though, its been a while

BTW this is the indicator for Ninja trader 7, If someone were to convert this to NT8 that would be awesome.

Do let us know what strategies you come up with using this!

Best of luck

Attached Files
Elite Membership required to download: SuperTrend.zip
Reply With Quote
Thanked by:
  #4 (permalink)
jonesy73
London, Canada
 
Posts: 7 since Apr 2023
Thanks Given: 3
Thanks Received: 1

Hi, wondering if there is a tool available that will convert NT7 code to NT8 or if someone has already converted the supertrend indicator to NT8.



adii800 View Post
This is the supertrend indicator by Mobius correct?

I too wanted this on Ninjatrader (8) some time ago and scoured the web and eventually found the attached file.

Can't remember the exact source though, its been a while

BTW this is the indicator for Ninja trader 7, If someone were to convert this to NT8 that would be awesome.

Do let us know what strategies you come up with using this!

Best of luck


Reply With Quote




Last Updated on May 21, 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 - Sitemap - Downloads - Top
no new posts