Expose indicator plot on VitVWAP for strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


Expose indicator plot on VitVWAP for strategy
Updated: Views / Replies:675 / 5
Created: by stoicbuddha Attachments:1

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
 
Thread Tools Search this Thread
 

Expose indicator plot on VitVWAP for strategy

  #1 (permalink)
Elite Member
Seattle, WA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8
Broker/Data: AMP/CQG
Favorite Futures: Indices
 
stoicbuddha's Avatar
 
Posts: 79 since Feb 2012
Thanks: 282 given, 62 received

Expose indicator plot on VitVWAP for strategy

I am creating a strategy that uses the value of the plot from Vitalij's VWAP (here or see attached). I am having trouble figuring out how to expose (if not exposed already) the plot. Can someone take a look at this and tell me if i need to either change the code in the Indicator itself or what parameter I need to use in my strategy?

Thanks!

Attached Files
Register to download File Type: cs VitVWAP.cs (6.1 KB, 28 views)
Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Sydney+Australia
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: futures
 
Posts: 16 since Feb 2014
Thanks: 11 given, 20 received


There you go.

It was mention in NinjaTrader forum.

Import the .CS files into NinjaTrader.

To do this copy the .CS files and then paste them into the following directory: My Documents\NinjaTrader 7\bin\Custom\Strategy
If they are Indicators it will need to be the following directory: My Documents\NinjaTrader 7\bin\Custom\Indicator

Once complete, go to Tools > Edit NinjaScript > Indicator > select any indicator > OK > once the NinjaScript Editor window opens press F5 on your keyboard to compile your NinjaScript files.


I hope it helps

Reply With Quote
 
  #4 (permalink)
Elite Member
Seattle, WA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8
Broker/Data: AMP/CQG
Favorite Futures: Indices
 
stoicbuddha's Avatar
 
Posts: 79 since Feb 2012
Thanks: 282 given, 62 received

Explanation

I didn't explain my problem properly, sorry. I have the Indicator working on my chart. I am creating a strategy that lets me know when price hits the vwap value from that indicator, so I need the plot value from that indicator as a reference in my strategy. My problem is referencing the plot from the indicator in my strategy. For instance, I get an error with CrossAbove(Close, VitVWAP, 1) because it says I am calling a method.

Reply With Quote
 
  #5 (permalink)
Market Wizard
Houston, TX
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Optimus Futures
Favorite Futures: 6E
 
TheWizard's Avatar
 
Posts: 1,711 since Jun 2009
Thanks: 509 given, 4,072 received


happyrenko View Post
I didn't explain my problem properly, sorry. I have the Indicator working on my chart. I am creating a strategy that lets me know when price hits the vwap value from that indicator, so I need the plot value from that indicator as a reference in my strategy. My problem is referencing the plot from the indicator in my strategy. For instance, I get an error with CrossAbove(Close, VitVWAP, 1) because it says I am calling a method.

@happyrenko,

Try:

if (CrossAbove(Close, VitVWAP(), 1))

then....do something

and

if(CrossBelow(Close,VitVWAP(),1))

then...do something

After all, it's what you learn AFTER you know it all, that counts!
Reply With Quote
The following user says Thank You to TheWizard for this post:
 
  #6 (permalink)
Elite Member
Seattle, WA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8
Broker/Data: AMP/CQG
Favorite Futures: Indices
 
stoicbuddha's Avatar
 
Posts: 79 since Feb 2012
Thanks: 282 given, 62 received

Thanks


TheWizard View Post
@happyrenko,

Try:

if (CrossAbove(Close, VitVWAP(), 1))

then....do something

and

if(CrossBelow(Close,VitVWAP(),1))

then...do something

That did it, thanks!

Reply With Quote

Reply



futures io > > > > > Expose indicator plot on VitVWAP for strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help my indicator plot on last bar GoldenRatio TradeStation 11 October 26th, 2014 07:02 AM
indicator will not plot MilfordT NinjaTrader 5 October 6th, 2014 07:46 PM
deltaema indicator will not plot aligator The Elite Circle 50 March 6th, 2014 08:36 PM
Shifting an indicator plot? jordis NinjaTrader Programming 6 January 30th, 2013 09:34 PM
Indicator plot syntax pequemec NinjaTrader Programming 4 August 30th, 2011 03:06 AM


All times are GMT -4. The time now is 07:50 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-11 in 0.09 seconds with 20 queries on phoenix via your IP 54.226.132.197