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,519 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)

  #41 (permalink)
Rock Sexton
Scottsdale
 
Posts: 120 since Feb 2012
Thanks Given: 33
Thanks Received: 96


Big Mike View Post
I am still quite new at EL programming, so forgive me

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, and it looks like this:

[img]https://nexusfi.com/v/fzsrwp.png[/img]

You'll need a semi-wide right margin to see the text, or you can edit the indicator itself if you want to adjust that. d1..d5 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. Decide for yourself it is useful or not. The code itself could use some refinement, I am sure. Please post enhancements!

 
Code
                            
inputs:
    
length ),
    
piv1c    white ),
    
piv2c    blue ),
    
piv3c    lightgray ),
    
piv4c    green ),
    
piv5c    magenta ),
    
pivstyle ),
    
textscale );
    
vars:
    
piv0    ),
    
piv1    ),
    
piv2    ),
    
piv3    ),
    
piv4    ),
    
piv5    ),
    
volph    ),
    
piv1id    ),
    
piv2id    ),
    
piv3id    ),
    
piv4id    ),
    
piv5id ),
    
piv1tid ),
    
piv2tid ),
    
piv3tid ),
    
piv4tid ),
    
piv5tid );
    
if 
date <> date[1then begin
    volph    
0;
    
piv5    piv4;
    
piv4    piv3;
    
piv3    piv2;
    
piv2    piv1;
    
piv1    piv0;
    
end;

    if 
date date[1then begin
        TL_Delete
(piv1id);
        
TL_Delete(piv2id);
        
TL_Delete(piv3id);
        
TL_Delete(piv4id);
        
TL_Delete(piv5id);
    
end;
    
    
piv1id TL_New(datesessionstarttime(01), piv1datesessionendtime(01), piv1);
    
piv2id TL_New(datesessionstarttime(01), piv2datesessionendtime(01), piv2);
    
piv3id TL_New(datesessionstarttime(01), piv3datesessionendtime(01), piv3);
    
piv4id TL_New(datesessionstarttime(01), piv4datesessionendtime(01), piv4);
    
piv5id TL_New(datesessionstarttime(01), piv5datesessionendtime(01), piv5);
    
    
TL_SetColor(piv1id,piv1c);
    
TL_SetColor(piv2id,piv2c);
    
TL_SetColor(piv3id,piv3c);
    
TL_SetColor(piv4id,piv4c);
    
TL_SetColor(piv5id,piv5c);
    
    
TL_SetStyle(piv1id,pivstyle);
    
TL_SetStyle(piv2id,pivstyle);
    
TL_SetStyle(piv3id,pivstyle);
    
TL_SetStyle(piv4id,pivstyle);
    
TL_SetStyle(piv5id,pivstyle);
    
    
Text_Delete(piv1tid);
    
Text_Delete(piv2tid);
    
Text_Delete(piv3tid);
    
Text_Delete(piv4tid);
    
Text_Delete(piv5tid);
    
    
piv1tid Text_New(dateMinlist(Time 30SessionEndTime(01) + 100), piv1 - (textscale MinMove/PriceScale), "[ v-d1 ]");
    
piv2tid Text_New(dateMinlist(Time 30SessionEndTime(01) + 100), piv2 - (textscale MinMove/PriceScale), "[ v-d2 ]");
    
piv3tid Text_New(dateMinlist(Time 30SessionEndTime(01) + 100), piv3 - (textscale MinMove/PriceScale), "[ v-d3 ]");
    
piv4tid Text_New(dateMinlist(Time 30SessionEndTime(01) + 100), piv4 - (textscale MinMove/PriceScale), "[ v-d4 ]");
    
piv5tid Text_New(dateMinlist(Time 30SessionEndTime(01) + 100), piv5 - (textscale MinMove/PriceScale), "[ v-d5 ]");


// highest volume bar
if Average(Volumelength) > volph then begin
    volph     
Average(Volumelength);
    
piv0    XAverage(Closelength);
    
//PlotPaintBar(High,Low,Open,Close,"",Yellow);
end
Attached is the MultiCharts .pla.

Mike


Is there anyone who's coded this for Tradestation? I literally know next to nothing when coding an indicator, but I am a huge proponent of using volume points of control and would kill to have something that plots them on my charts. The code provided doesn't seem to plot anything, it's just blank when I use it.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Quant vue
Trading Reviews and Vendors
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #42 (permalink)
 bomberone1 
London
 
Experience: Beginner
Platform: MultiCharts
Posts: 277 since Nov 2010
Thanks Given: 14
Thanks Received: 29

DO someone inlud the 3 basic value of Volume Profile Analysis: VPOC, VHvol,VLvol, also for the past days?

Reply With Quote
  #43 (permalink)
1irst48
Dallas Texas
 
Posts: 1 since Apr 2021
Thanks Given: 0
Thanks Received: 0


Was this ever able to work on tradestation?

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