Convert PriceSwing Indicator to Strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


Convert PriceSwing Indicator to Strategy
Updated: Views / Replies:5,103 / 28
Created: by marcelo_s Attachments:11

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 11  
 
Thread Tools Search this Thread
 

Convert PriceSwing Indicator to Strategy

  #11 (permalink)
Trading Apprentice
Netherlands
 
Futures Experience: Advanced
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 10 since Feb 2011
Thanks: 0 given, 0 received

Can someone tell me how to retrieve the swing high/low from Swing indicator in my strategy.
I have only the current swing now but need both high and low.
PLease write me an example how to do it.

Reply With Quote
 
  #12 (permalink)
Trading Apprentice
Finland
 
Futures Experience: Advanced
Platform: OpenQuant
Favorite Futures: SPY
 
Posts: 5 since Feb 2011
Thanks: 6 given, 1 received

Hi,

I downloaded the file and got it fine into Ninja, but where does it appear? I don't see it strategies, indicators, templates, nowhere? Any ideas where this SwingX is supposed to appear after the import.


marcelo_s View Post
Use attached file as a base to future code. It worked to me

Sorry, I'm quite new to NT, hence asking these silly questions.

Thx,
Eelofi

Reply With Quote
 
  #13 (permalink)
Elite Member
BUENOS AIRES
 
Futures Experience: Intermediate
Platform: ninja
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 34 since Nov 2009
Thanks: 0 given, 13 received


Eolfi,
Open the SwingX.cs file with NotePad.
Edit any Strategy, copy/paste what you have in the NotePad, and SaveAs SwingX
Then Compile ( F5 ) and you will find it on the Strategy list
Marcelo



eelofi View Post
Hi,

I downloaded the file and got it fine into Ninja, but where does it appear? I don't see it strategies, indicators, templates, nowhere? Any ideas where this SwingX is supposed to appear after the import.



Sorry, I'm quite new to NT, hence asking these silly questions.

Thx,
Eelofi


Reply With Quote
 
  #14 (permalink)
Elite Member
chicago
 
Futures Experience: Master
Platform: NinjaTrader
Favorite Futures: EUR/USD
 
Posts: 22 since Aug 2012
Thanks: 6 given, 5 received


marcelo_s View Post
Use attached file as a base to future code. It worked to me

Hello,
I tried to compile the file SwingTrendX.cs, but it gave me the attached error message "Type or namespace SwingTrendX does not exist in namespace NinjaTrader.indicator (are you missing an assembly reference).

Kindly advice, do I need an assembly to be installed? I already have installed PriceActionSwing Indicator.
Please advice, how to fix this compilation errror?

Thanks & Regards,
Mohi

Attached Thumbnails
Convert PriceSwing Indicator to Strategy-error-message.jpg  
Reply With Quote
 
  #15 (permalink)
Elite Member
California
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: CL, TF, Options & Stocks
 
Posts: 50 since Jun 2013
Thanks: 322 given, 26 received


marcelo_s View Post
Use attached file as a base to future code. It worked to me

I am able to compile the given strategy, but dont see the execution in simulation mode. Please advise.

Reply With Quote
 
  #16 (permalink)
Elite Member
BUENOS AIRES
 
Futures Experience: Intermediate
Platform: ninja
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 34 since Nov 2009
Thanks: 0 given, 13 received


skann View Post
I am able to compile the given strategy, but dont see the execution in simulation mode. Please advise.

Press CTRL+F, scroll down and look to "Plot executions". Select the option Markets Only, or Text and Markers

Reply With Quote
 
  #17 (permalink)
Elite Member
California
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: CL, TF, Options & Stocks
 
Posts: 50 since Jun 2013
Thanks: 322 given, 26 received


marcelo_s View Post
Press CTRL+F, scroll down and look to "Plot executions". Select the option Markets Only, or Text and Markers

I did so, and enabled the strategy in NT control Panel but still strategy is not active. In the control panel the enabled strategy is highlighted in green instead of yellow(yellow means active). Please advise.

Reply With Quote
 
  #18 (permalink)
Elite Member
BUENOS AIRES
 
Futures Experience: Intermediate
Platform: ninja
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 34 since Nov 2009
Thanks: 0 given, 13 received


skann View Post
I did so, and enabled the strategy in NT control Panel but still strategy is not active. In the control panel the enabled strategy is highlighted in green instead of yellow(yellow means active). Please advise.

In the Control panel Green means that the Strat is enable. When comes up yellow check your Log Tab, and find out if you want or not to take historical trades at the moment you enable the strat

Reply With Quote
 
  #19 (permalink)
Elite Member
California
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: CL, TF, Options & Stocks
 
Posts: 50 since Jun 2013
Thanks: 322 given, 26 received

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

marcelo_s View Post
Use attached file as a base to future code. It worked to me

I am getting compilation error. Please see the attached and advise.

Reply With Quote
 
  #20 (permalink)
Elite Member
BUENOS AIRES
 
Futures Experience: Intermediate
Platform: ninja
Broker/Data: AMP
Favorite Futures: ES
 
Posts: 34 since Nov 2009
Thanks: 0 given, 13 received



skann View Post
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


I am getting compilation error. Please see the attached and advise.

If you want, post your code so I can download it in my pc, compile and find out what is missing

Reply With Quote
The following user says Thank You to marcelo_s for this post:

Reply



futures io > > > > > Convert PriceSwing Indicator to Strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple template to convert NT Strategy to NT IUndicator visounds NinjaTrader Programming 4 March 31st, 2011 08:16 AM
Anybody can convert this indicator from NT7 to SierraChart (MACDVOL) redpilot Sierra Chart Programming 3 February 25th, 2011 08:47 PM
Convert MT4- Indicator-Help : Easy Trend Visualizer Rickb The Elite Circle 4 May 31st, 2010 08:18 AM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 07:24 PM


All times are GMT -4. The time now is 06:30 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-17 in 0.14 seconds with 20 queries on phoenix via your IP 54.82.81.154