NexusFi: Find Your Edge


Home Menu

 





MPD indicator (maximum permissible deviation)


Discussion in NinjaTrader

Updated
    1. trending_up 5,604 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 danjuma 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, IB TWS
Broker: IB, Kinetic
Trading: Stocks, Forex
Posts: 99 since Nov 2011
Thanks Given: 48
Thanks Received: 16

A chap by the username Grey1 a while ago on the T2W forum came up with a concept of using the VWAP with waht he called MPD (maximum permissible deviation).

The MPD is calculated as (day high - day low)/2.
Then two price bands are derived from this in relation to the VWAP.
Upper band = VWAP + MPD
Lower band = VWAP - MPD.

I have searched, and I don't think there is a Ninja indicator for these. I was wondering whether somebody would be kind enough to code a Ninja indicator to display these price bands (upper and lower bands) please?

Many thanks
Dan

Below is a link to one of the many threads about this on T2W for deatils if anyone is interested.
Trade2Win Forums


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
February NFP Preview -- Why This Mornings Jobs Number Co …
Traders Hideout
Zytrade: Devin Brady, CEO - Ask Me Anything (AMA)
Brokers
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Iran War Prediction Markets: Ceasefire 16%, Ground Invas …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #2 (permalink)
 danjuma 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, IB TWS
Broker: IB, Kinetic
Trading: Stocks, Forex
Posts: 99 since Nov 2011
Thanks Given: 48
Thanks Received: 16

42 views, and no response. Would have thought this won't have been too difficult to program for someone familiar with coding Ninjascripts.


Started this thread Reply With Quote
  #3 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,583 since Aug 2011
Thanks Given: 2,093
Thanks Received: 9,696


I think even I could do it. Here is the deal (imo), ofcourse. Explain your application so someone might see, know, or understand why this might be valuable Or. Demonstrate the attempts that you have made and ask for specific help. If you do both of those, I'm sure guys with the time will shap off what you are looking for. DB


Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 danjuma 
London, UK
 
Experience: Beginner
Platform: NinjaTrader, IB TWS
Broker: IB, Kinetic
Trading: Stocks, Forex
Posts: 99 since Nov 2011
Thanks Given: 48
Thanks Received: 16


wldman View Post
I think even I could do it. Here is the deal (imo), ofcourse. Explain your application so someone might see, know, or understand why this might be valuable Or. Demonstrate the attempts that you have made and ask for specific help. If you do both of those, I'm sure guys with the time will shap off what you are looking for. DB

Wldman, thanks for your response. I thought my explanation was clear enough. Anyway, basically, it is a concept by some chap on T2W sometime ago. The methodology in simple terms, obviously taking other things into consideration, is that when price approaches the upper band, go short, as price is expected to come back towards the VWAP, conversely, if price approaches the lower band, go long, as price is expected to pull back up towards the VWAP.

I have not made any attempt as I haven't the first clue regarding Ninjascripts. I am currently concentrating on learning java for another project I am working on, so don't have the time at present to learn C# and Ninjascripts, hence my request for assistance.

Cheers
Dan


Started this thread Reply With Quote
  #5 (permalink)
micron
Ukraine
 
Posts: 9 since Dec 2015
Thanks Given: 0
Thanks Received: 6

I tried this MPD option for VWAP in Quantower platform, but honestly I didn't see any advantages over STD bands. Anyone can provide some examples of its usage? Thanks


Reply With Quote




Last Updated on December 3, 2019


© 2026 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 - Downloads - Top
no new posts