NexusFi: Find Your Edge


Home Menu

 





need vwap indicator that changes colour on up and downmoves


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 11 posts (11 thanks)
    2. looks_two anniebee321 with 6 posts (1 thanks)
    3. looks_3 ZTR with 3 posts (2 thanks)
    4. looks_4 djkiwi with 2 posts (0 thanks)
    1. trending_up 13,281 views
    2. thumb_up 14 thanks given
    3. group 6 followers
    1. forum 27 posts
    2. attach_file 4 attachments




 
Search this Thread

need vwap indicator that changes colour on up and downmoves

  #1 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

has anybody got vwap indicator that changes colour to red on downmove and green on upmove that they do not mind sharing?
pretty please

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Futures True Range Report
The Elite Circle
 
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


I am only using an anchored VWAP of the current session. The anchor is the session start. For this type of VWAP you do not need colouring for two reasons

- as no value drops out at the beginning it always follows price, so it is up, if price is above and it is down if price is below the current day's VWAP, and any colour would be redundant
- it acts as support and resistance and rarely would change the colour

So may I assume that you want to colour a VWAP with a fixed period? This can be done in a few minutes by setting the Plot Colors. To do this, I would need to know

- whether you use NT 7.0. or NT 6.5. (the code will be different)
- which VWAP you want to colour
- whether you want to set the colours via indicator dialogue


anniebee321 View Post
has anybody got vwap indicator that changes colour to red on downmove and green on upmove that they do not mind sharing?
pretty please


Reply With Quote
  #4 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

this is the indicator would like modified if anybody has the time and know how to do it

Attached Files
Elite Membership required to download: VWAP.zip
Started this thread Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

This is an anchored VWAP for NT 6.5., which requires that you set the appropriate chart session under chart porperties. It has the property that

- it moves up when price closes above VWAP
- it moves down when price closes below VWAP

So it would change colours every time price (close) crosses above or below VWAP.

If I take the example of last Friday for ES - see chart below - the colours would change 8 times (green for up, red for down)

(1) red->green->red->green
(2) green->red
(3) red->green-> red
(4) red-> green
(5) green-> red->green->red
(6) red->green->red
(7) red> green
(8) green->red

The colour would change quite often.

If you smooth the VWAP with a period of 3 (see red line on chart) this would filter the 1 or 2 closes above or below VWAP that may occur during a reversal, and you would get fewer false signals. What do you think?

Attached Thumbnails
Click image for larger version

Name:	ES 06-10  28_05_2010 (10 Min).jpg
Views:	694
Size:	126.9 KB
ID:	14521  
Reply With Quote
  #6 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

the vwap i posted is probably safer than the ''anchored vwap" because it does not fluctuate very easily which is what i like about it -- so a change in colour of the original vwap to green as it goes up and red as it goes down is still more desirable but
thanks for yr help fat tails....

Started this thread Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

OK, just added some colours here, the indicator sets values for current bar and previous bar to connect the points...

The indicator you posted is an anchored VWAP - that is the reason that it does not fluctuate. It is anchored at the session begin, if you set the correct session via chart properties.

Attached Files
Elite Membership required to download: VWAPcoloured.zip
Reply With Quote
  #8 (permalink)
 anniebee321 
london
 
Experience: Beginner
Platform: ninja
Trading: fgbl
Posts: 138 since Nov 2009
Thanks Given: 64
Thanks Received: 44

i absolutely adore it fattails - just what i wanted - many thank yous for yr time and effort you spent on this

Started this thread Reply With Quote
  #9 (permalink)
 
ZTR's Avatar
 ZTR 
 
Experience: Advanced
Platform: NinjaTrader7
Broker: Mirus RCG/Zen-Fire
Trading: CL & 6e, looking at ES, ZB and AU again.
Posts: 2,096 since Nov 2009
Thanks Given: 1,099
Thanks Received: 1,393

Hi Fat Tails,

Mike has contacted me and highlighted the indicator posted here:



as something He would like put the Downloads section.

Currently BM&TheMods have agreed members can leave everything in threads posted, but it would be easier to search if a copy also resided in downloads with a link back to the thread.

Eventually we would like to clean up older versions from threads but that is a decision left entirely to the thread participants.

Would you be willing to post this indicator in downloads?

PM me if you need any help at all.

Andy

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #10 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Hi ZTR,

have done this quickly. I have not put this to the download section for several reasons

- it is now a repainting indicator, as it repaints the value one bar ago, so I still would need to adapt it to the plotstyle -> see thread by Big Mike
- I believe that the colouring for an anchored VWAP is unnecessary, as it is easy to recognize whether price trades abobe or below the line
- that the author who coded the original indicator should approve the modification, otherwise we would have 10 competing versions of each indicator

The indicator download sections of many forums are already polluted with useless stuff, which only makes it more difficult to find the really useful indicators.

I am not oppsed though, if anybody wants to add this to the downloads.

Reply With Quote




Last Updated on August 10, 2017


© 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