NexusFi: Find Your Edge


Home Menu

 





Question about VolumeProfile indicator


Discussion in NinjaTrader

Updated
    1. trending_up 1,427 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?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
16 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
13 thanks
My NQ Trading Journal
12 thanks
  #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