NexusFi: Find Your Edge


Home Menu

 





Expose indicator plot on VitVWAP for strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one stoicbuddha with 3 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 tr8d3r with 1 posts (0 thanks)
    4. looks_4 TheWizard with 1 posts (1 thanks)
    1. trending_up 2,004 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 1 attachments




 
Search this Thread

Expose indicator plot on VitVWAP for strategy

  #1 (permalink)
 
stoicbuddha's Avatar
 stoicbuddha 
Seattle, WA
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: AMP/CQG
Trading: Indices
Frequency: Every few days
Duration: Minutes
Posts: 96 since Feb 2012
Thanks Given: 1,038
Thanks Received: 96

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
Elite Membership required to download: VitVWAP.cs
Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
23 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #3 (permalink)
 tr8d3r 
Sydney+Australia
 
Experience: Beginner
Platform: NinjaTrader + daytradr
Trading: futures
Posts: 74 since Feb 2014
Thanks Given: 82
Thanks Received: 112


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)
 
stoicbuddha's Avatar
 stoicbuddha 
Seattle, WA
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: AMP/CQG
Trading: Indices
Frequency: Every few days
Duration: Minutes
Posts: 96 since Feb 2012
Thanks Given: 1,038
Thanks Received: 96

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.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 
TheWizard's Avatar
 TheWizard 
Houston, TX
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Optimus Futures, AMP, CQG
Trading: 6E
Posts: 1,731 since Jun 2009
Thanks Given: 517
Thanks Received: 4,224


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
Thanked by:
  #6 (permalink)
 
stoicbuddha's Avatar
 stoicbuddha 
Seattle, WA
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: AMP/CQG
Trading: Indices
Frequency: Every few days
Duration: Minutes
Posts: 96 since Feb 2012
Thanks Given: 1,038
Thanks Received: 96


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!

Visit my NexusFi Trade Journal Started this thread Reply With Quote




Last Updated on January 20, 2016


© 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