NexusFi: Find Your Edge


Home Menu

 





Volume level support and resistance (EasyLanguage)


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Fat Tails with 9 posts (3 thanks)
    2. looks_two Big Mike with 6 posts (25 thanks)
    3. looks_3 zt379 with 5 posts (1 thanks)
    4. looks_4 tbohle with 3 posts (2 thanks)
      Best Posters
    1. looks_one MooreTech with 7 thanks per post
    2. looks_two Big Mike with 4.2 thanks per post
    3. looks_3 tbohle with 0.7 thanks per post
    4. looks_4 Fat Tails with 0.3 thanks per post
    1. trending_up 30,404 views
    2. thumb_up 41 thanks given
    3. group 14 followers
    1. forum 42 posts
    2. attach_file 7 attachments




 
Search this Thread

Volume level support and resistance (EasyLanguage)

  #21 (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 still reluctant to code the indicator, as there seems to be a conceptual weakness. As fas as I have understood the indicator adds up the volume over a n-bar period and then attributes that volume no the n-bar exponential average over that same period. The value of the moving average which has collected the peak volume is elected as today's volume pivot.

Now if you use that indicator for CL on a larger time frame chart with a bar period > 15 min and a lookback period around 10, then the peak volume will always be around noon. So there is no more information. If you use that indicator on 1 min bars, the peak volume will mostly be found at the close of the RTH session, because the reported volume is added at that time.

This means that the indicator has a sweet spot, where it can be used, and that the lookback period of the volume and the EMA needs to be adjusted to the bar period to remain within this spot.

To be honest, I would rather use market profile, adding up TPO volume than use this volume proxy attributed to an exponential moving average. The point of control, the volume weighted average of the RTH session or even the floor pivot are probably more representative of value than the lines displayed by this indicator.

So, I am not really motivated to code this for NinjaTrader, unless somebody convinces me that it really can be used..

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Exit Strategy
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
26 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Tao te Trade: way of the WLD
21 thanks
My NQ Trading Journal
16 thanks
HumbleTraders next chapter
9 thanks
  #22 (permalink)
 
Laurus12's Avatar
 Laurus12 
Norway
 
Experience: Advanced
Platform: MultiCharts, CQG, NinjaTrader
Broker: CQG, DTN IQFeed
Trading: EURO
Posts: 376 since Nov 2010
Thanks Given: 564
Thanks Received: 363

@Fat Tails.

I do not use it for the moment, but I think the Volume Pivots for FXCM Marketscope works pretty good. Maybe you could get something out of it. I am not sure what programming language it is based on, but is in .lua format. It is Apprentice over at Fxcodebase.com who have made it. Direct link. For example in the thread they discuss making calculations based on sessions rather than amount of bars. The picture in my previous post in this thread shows it with more levels.

I have attached the code in .txt.

Laurus

“If you wish to see the truth, then hold no opinions for or against anything.” - Hsin Hsin Ming
Attached Files
Elite Membership required to download: Volume Pivots.txt
Reply With Quote
  #23 (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



Laurus12 View Post
@Fat Tails.

I do not use it for the moment, but I think the Volume Pivots for FXCM Marketscope works pretty good. Maybe you could get something out of it. I am not sure what programming language it is based on, but is in .lua format. It is Apprentice over at Fxcodebase.com who have made it. Direct link. For example in the thread they discuss making calculations based on sessions rather than amount of bars. The picture in my previous post in this thread shows it with more levels.

I have attached the code in .txt.

Laurus

But the question is still unanswered, how to use this in your trading.

Reply With Quote
  #24 (permalink)
 
Laurus12's Avatar
 Laurus12 
Norway
 
Experience: Advanced
Platform: MultiCharts, CQG, NinjaTrader
Broker: CQG, DTN IQFeed
Trading: EURO
Posts: 376 since Nov 2010
Thanks Given: 564
Thanks Received: 363


Fat Tails View Post
But the question is still unanswered, how to use this in your trading.

One can use it for knowing where support and resistance of more significant degree is. For example as in where the "smart money" are making support and resistance. One can then choose to enter or exit a position based on if price respects or disrespects the levels. For example on retests. This is how I have interpreted it.

Laurus

“If you wish to see the truth, then hold no opinions for or against anything.” - Hsin Hsin Ming
Reply With Quote
  #25 (permalink)
 jefe 
Snoqualmie, WA
 
Experience: Advanced
Platform: NinjaTrader
Trading: TF, 6E and 6S
Posts: 26 since Jun 2010
Thanks Given: 8
Thanks Received: 9

Fat Tails,
How long would it take you to code this bad boy? Sure would be an interesting indicator...not sure whether it will work as expected but I'd love to see it and test it out.
(also, was thinking about this...the lines could be thicker the bigger the HVN or Darker to give a better idea of how much strength that S or R might have)
Jefe

Reply With Quote
  #26 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 29

Is it possible draw a line of different size thta depend of how much volumes is it exchange for each level?
So at first look is it possible understant a good level of support and resistance.

Reply With Quote
  #27 (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


jefe View Post
Fat Tails,
How long would it take you to code this bad boy? Sure would be an interesting indicator...not sure whether it will work as expected but I'd love to see it and test it out.
(also, was thinking about this...the lines could be thicker the bigger the HVN or Darker to give a better idea of how much strength that S or R might have)
Jefe

As I said, this indicator has serious shortcomings, as its use is more or less limited to 5 minute charts. It will not work correctly on 1 min charts (always picks the close), and will not work on 30 min charts (always picks the middle of the day), so I won't probably code it. I have not heard of anybody using this indicator for his (successful) trading. If there is anybody, please come out and show how it can be used.

I do not want to spend my time, coding something which in the end will be useless. There are already good indicators around, which identify the mode of the RTH session, such as

- the dValue indicator (see download section of the forum)
- Fin-Alg commercial indicator, which allows to plot a market profile

I am rather sure that these indicators are better, so I am not eager to put an effort into something with a limited perspective.

Reply With Quote
  #28 (permalink)
 zt379 
UK London
 
Platform: NT
Posts: 2,046 since Sep 2009
Thanks Given: 1,567
Thanks Received: 1,930


Big Mike View Post

This little indicator just plots some interesting support and resistance areas solely based on where the majority of volume took place. I use it on a 5 minute chart.....

........just represents how many days back the line represents, I have it set to do a 5-day rolling action now.

All the lines are drawn ahead of time and do not change intraday. .....


Fat Tails View Post
I am still reluctant to code the indicator, as there seems to be a conceptual weakness. As fas as I have understood the indicator adds up the volume over a n-bar period and then attributes that volume no the n-bar exponential average over that same period. The value of the moving average which has collected the peak volume is elected as today's volume pivot.

Now if you use that indicator for CL on a larger time frame chart with a bar period > 15 min and a lookback period around 10, then the peak volume will always be around noon. So there is no more information. If you use that indicator on 1 min bars, the peak volume will mostly be found at the close of the RTH session, because the reported volume is added at that time.

This means that the indicator has a sweet spot, where it can be used, and that the lookback period of the volume and the EMA needs to be adjusted to the bar period to remain within this spot.

To be honest, I would rather use market profile, adding up TPO volume than use this volume proxy attributed to an exponential moving average. The point of control, the volume weighted average of the RTH session or even the floor pivot are probably more representative of value than the lines displayed by this indicator.

So, I am not really motivated to code this for NinjaTrader, unless somebody convinces me that it really can be used..

Hello Fat Tails.
I'm very interested in this for NT.
In advance of explaining why, and to avoid wasting your valued efforts and
to be sure I understand what's being discussed here,
Big Mike's first post appears to me to be referring to a POC over a selectable number of days ?
(and that that number of days is "rolling").

If I've understood this correctly, is there any reason why you refer to an exponential average of that volume ?
(as per red text in your quote above).

It may well be part of the EL code (which I am ignorant of).
Apologies if it is.

If it is part of the EL code would it appeal to you to work on this without
having that exponential average criteria ?

Many thx

.

Reply With Quote
  #29 (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


zt379 View Post
Hello Fat Tails.
I'm very interested in this for NT.
In advance of explaining why, and to avoid wasting your valued efforts and
to be sure I understand what's being discussed here,
Big Mike's first post appears to me to be referring to a POC over a selectable number of days ?
(and that that number of days is "rolling").

If I've understood this correctly, is there any reason why you're refer to an exponential average of that volume ?
(as per red text in your quote above).

It may well be part of the EL code (which I am ignorant of).
Apologies if it is.

If it is part of the EL code would it appeal to you to work on this without
having that exponential average criteria ?

Many thx

.

I did not mention an exponential average of the volume. The indicator adds up the volume over n bars, calculates a simple average of that volume and then attributes that volume to the price level, which is obtained as the exponential moving average over that n bar period.

So what you get doing this is a price volume histogram very similar to a volume based market profile. However the price levels are not made up of all ticks which are included within the daily range, but they are made up of all values the EMA has taken during the day. Then it is not the volume which traded at any price level, which is attributed, but it is the cumulated volume of the prior n-bars, which is taken as a proxy.

Let us say the indicator determines the mode of a price volume distribution calculated from n bar rolling market profiles, with the EMA of the n bar rolling profile used as a proxy for the point of control.

It is a poor man's market profile and will probably not get the expected results. Again there are better options. You can take

- the VWAP of each of the prior five sessions as a proxy for volume
- the point of control calculated from TPOs

and will have more robust values than those calculated here.

There is an example how to use VWAPs here, the concept is pretty similar to this indicator, but probably more effective.

Anchored [AUTOLINK]VWAP[/AUTOLINK] Bands | The Precision Report

Attached Thumbnails
Click image for larger version

Name:	Prev-day-closing-VWAP-9-30-09.png
Views:	616
Size:	58.9 KB
ID:	38364  
Reply With Quote
  #30 (permalink)
 zt379 
UK London
 
Platform: NT
Posts: 2,046 since Sep 2009
Thanks Given: 1,567
Thanks Received: 1,930



Fat Tails View Post
I did not mention an exponential average of the volume. The indicator adds up the volume over n bars, calculates a simple average of that volume and then attributes that volume to the price level, which is obtained as the exponential moving average over that n bar period.

So what you get doing this is a price volume histogram very similar to a volume based market profile. However the price levels are not made up of all ticks which are included within the daily range, but they are made up of all values the EMA has taken during the day. Then it is not the volume which traded at any price level, which is attributed, but it is the cumulated volume of the prior n-bars, which is taken as a proxy.

Let us say the indicator determines the mode of a price volume distribution calculated from n bar rolling market profiles, with the EMA of the n bar rolling profile used as a proxy for the point of control.

It is a poor man's market profile and will probably not get the expected results. Again there are better options. You can take

- the VWAP of each of the prior five sessions as a proxy for volume
- the point of control calculated from TPOs

and will have more robust values than those calculated here.

There is an example how to use VWAPs here, the concept is pretty similar to this indicator, but probably more effective.

Anchored [AUTOLINK]VWAP[/AUTOLINK] Bands | The Precision Report

Thx for the detailed reply.
As you say, it's not showing actual traded volume at price. A true POC, in other words.

Do you know of an NT indicator that does this, especially on a cumulative basis?
ie;
Last trading day volume (POC)
Current week volume (POC)
Last week volume (POC)
Total contract levels" (POC)
(see attached charts)
All those I've come across relate to a TPO or VTPO or VWTPO or VOC .

I would, if possible, like to have a "true" POC indicator for NT.

If of interest, I touched on this in a previous nexusfi.com (formerly BMT) thread (post#8 below) regarding an MT4 indicator,
that does plot POC based on actual volume traded at price.


Post#8

zt379 View Post
I started this thread on Ninja forum a while ago which may be of interest.
Volume Levels - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum

I wasn't able to get anyone to convert the MT4 indicator that VolumeTrader had made.
Hope the thread is self explanatory and may help.

trading-evolution • ???????? ?? ???????. Trading forex and futures using volume data

His Excel link in post#1 of the above Ninja Forum thread, I believe he created to get CME data into the MT4 charting software.
It may help explain how to create an NT indicator if anyone is able or interested ?

Post # 196 from his FF thread :
Volume Trading - Page 14 @ Forex Factory
explains those volume levels that I would be interesting in having on NT.

Post# 402 refers to Options also being displayed:
Volume Trading - Page 27 @ Forex Factory

Attached 2 old screen shots showing the MT4 "eVOLution" indicator.
(Showing levels as a line and histograms for last day POC, this weeks POC, last weeks POC and POC
for total contract).

These FF threads may be of interest in using such techniques:
Principles of market movements @ Forex Factory
New opportunities on EUR/USD market @ Forex Factory

Hope I've explained the multiple info/links clearly enough in one post,
and that it's of some interest.

Many thx

Attached Thumbnails
Click image for larger version

Name:	vt 6bu9 30m 2-11 sept 2009.gif
Views:	467
Size:	33.1 KB
ID:	38368   Click image for larger version

Name:	vt 6bz9 30m 11-17 sept 2009.gif
Views:	407
Size:	24.7 KB
ID:	38369  
Reply With Quote




Last Updated on May 4, 2021


© 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