NexusFi: Find Your Edge


Home Menu

 





help with turning an indicator into a strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one emily28 with 4 posts (2 thanks)
    2. looks_two aligator with 2 posts (2 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 3,123 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 2 attachments




 
Search this Thread

help with turning an indicator into a strategy

  #1 (permalink)
 
emily28's Avatar
 emily28 
Austin, Texas
 
Experience: Beginner
Platform: Ninjatrader
Trading: TF
Posts: 29 since Mar 2014
Thanks Given: 51
Thanks Received: 20

i like to use this super trend indicator.

i was wondering if there was a simple way to use ninjascript to turn it into a strategy where i long is taken when the line turns from red to green, and vice versa for shorting.

ive attached a pic, i feel like this should be pretty basic i just cant seem to crack it.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
Quant vue
Trading Reviews and Vendors
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
 
  #3 (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,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662


I'm pretty sure there is a BoolSeries named Trend in most SuperTrend versions including @Fat Tails version, just look at that to know if it's "green or red" then take action appropriately.

Mike

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
Thanked by:
  #4 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,621 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,994


emily28 View Post
i like to use this super trend indicator.

i was wondering if there was a simple way to use ninjascript to turn it into a strategy where i long is taken when the line turns from red to green, and vice versa for shorting.

ive attached a pic, i feel like this should be pretty basic i just cant seem to crack it.

@emily28,

You seem to already have the indicator including the color logic series on your Ninja. So, from the menu go in Tools > New NinjaScript > Strategy and start building the strategy.

It is very intuitive and you do not need to be a programmer.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #5 (permalink)
 
emily28's Avatar
 emily28 
Austin, Texas
 
Experience: Beginner
Platform: Ninjatrader
Trading: TF
Posts: 29 since Mar 2014
Thanks Given: 51
Thanks Received: 20

i got this indicator off of a website, so i didnt build it

when i go into ninjascript strategy what would the next logical step be.
ive really only built strategies that said, when this line crosses below that line do this......

since this is just a singular indicator im not sure what to do.

should i attach the screen capture of the details of this indicator?

Started this thread Reply With Quote
  #6 (permalink)
 
aligator's Avatar
 aligator 
Las Vegas, NV
Legendary Market Wizard
 
Experience: Advanced
Platform: Abacus, Slide Rule, HP-65
Trading: Futures, Stocks, Options
Posts: 3,621 since Aug 2010
Thanks Given: 1,071
Thanks Received: 5,994

@emily28,

If your indicator file is open source (with a .cs extension, not a protected .dll file then it will have the logic to look at to build the strategy.

You can post (attach) the file here if open source and someone will help you with that:


Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #7 (permalink)
 
emily28's Avatar
 emily28 
Austin, Texas
 
Experience: Beginner
Platform: Ninjatrader
Trading: TF
Posts: 29 since Mar 2014
Thanks Given: 51
Thanks Received: 20


aligator View Post
@emily28,

If your indicator file is open source (with a .cs extension, not a protected .dll file then it will have the logic to look at to build the strategy.

You can post (attach) the file here if open source and someone will help you with that:


yes its a cs
this is it

I posted on that other thread as well.

Attached Files
Elite Membership required to download: FibonacciSuperTrend.cs
Started this thread Reply With Quote
Thanked by:
  #8 (permalink)
 
emily28's Avatar
 emily28 
Austin, Texas
 
Experience: Beginner
Platform: Ninjatrader
Trading: TF
Posts: 29 since Mar 2014
Thanks Given: 51
Thanks Received: 20


Big Mike View Post
I'm pretty sure there is a BoolSeries named Trend in most SuperTrend versions including @Fat Tails version, just look at that to know if it's "green or red" then take action appropriately.

Mike

what would the next few steps be specifically?
thanks

Started this thread Reply With Quote




Last Updated on March 29, 2014


© 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