NexusFi: Find Your Edge


Home Menu

 





Question about VolumeProfile indicator


Discussion in NinjaTrader

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




 
Search this Thread

Question about VolumeProfile indicator

  #1 (permalink)
UMLer
Toronto Canada
 
Posts: 1 since Feb 2022
Thanks Given: 0
Thanks Received: 0

Hi
I read source code of VolumeProfile indicator and i show a piece of code below:
if (price >= e.Ask)
volumeInfoItem.up += volume;
else if (price <= e.Bid)
volumeInfoItem.down += volume;
else
volumeInfoItem.neutral += volume;

what i can not understand is the last line code. is it possible price could be between e.Ask and e.Bid? if so then is there anyone could describe the scenario that cause price is between e.Ask and e.Bid ?

thanks

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
Strategy stop orders partially filled
EasyLanguage Programming
 
  #2 (permalink)
 Apollo11 
KualaLumpur + Malaysia
 
Experience: Intermediate
Platform: TradeStation
Trading: ES, Forex, Futures, Stocks
Posts: 5 since Sep 2015
Thanks Given: 0
Thanks Received: 5

Say
Ask is 13.68
Bid is 13.62

Price is at 13.70 - will trigger the up
Price is at 13.65 - will trigger the neutral
Price is at 13.60 - will trigger the down

Reply With Quote
  #3 (permalink)
 patrick88 
Hong Kong
 
Experience: Intermediate
Platform: Interactive Brokers
Trading: Futures, Stocks
Posts: 10 since Feb 2023
Thanks Given: 7
Thanks Received: 1


Hi,

How many bars should you look back to on Volume Profile? I use the 30min and 2min mainly.

I often feel that levels beyond 1000 bars are still relevant. How many bars do you look back to?

Many thanks,
Patrick

Reply With Quote




Last Updated on February 17, 2023


© 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