Volume level support and resistance (EasyLanguage) (Page 5) - EasyLanguage Programming | futures.io
futures.io futures trading
 

Go Back   futures.io

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming


Volume level support and resistance (EasyLanguage)
Started:March 19th, 2010 (03:25 PM) by Big Mike Views / Replies:13,995 / 41
Last Reply:October 18th, 2016 (03:50 PM) Attachments:7

Welcome to futures.io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike
     

Reply
 7  
 
Thread Tools Search this Thread

Volume level support and resistance (EasyLanguage)

Old January 18th, 2013, 01:08 PM   #41 (permalink)
Trading for Fun
Scottsdale
 
Futures Experience: Intermediate
Platform: ThinkorSwim
Favorite Futures: Stocks
 
Posts: 120 since Feb 2012
Thanks: 33 given, 96 received


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:

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


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.


Last edited by Rock Sexton; January 18th, 2013 at 09:01 PM.
Reply With Quote
     

Old October 18th, 2016, 03:50 PM   #42 (permalink)
Elite Member
London
 
Futures Experience: Beginner
Platform: MultiCharts
 
Posts: 213 since Nov 2010
Thanks: 8 given, 18 received

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

Reply With Quote
     

Reply



futures.io > Futures Trading, News, Charts and Platforms > Platforms and Indicators > TradeStation > EasyLanguage Programming > Volume level support and resistance (EasyLanguage)

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

NinjaTrader 8: Features and Enhancements, Tips and Tricks

Dec 6
 

Al Brooks: Stop Losing when a Good Trade goes Bad, Correcting Mistakes

Elite only
 

Trading Technologies: Algo Design Lab hands-on

Dec 13
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support and Resistance tony2009 Traders Hideout 13 July 8th, 2011 07:12 PM
Novel way to find support and resistance verge The Elite Circle 18 September 9th, 2010 03:37 PM
Support Resistance Break emini_Holy_Grail Traders Hideout 3 June 4th, 2010 07:51 AM
Keepin' It Simple: Support and Resistance, Volume, Price Action pmccandless Traders Hideout 11 April 16th, 2010 08:05 PM


All times are GMT -4. The time now is 04:19 PM.

Copyright © 2016 by futures.io. 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.
 
no new posts

Page generated 2016-12-04 in 0.08 seconds with 20 queries on phoenix via your IP 54.161.208.7