NexusFi: Find Your Edge


Home Menu

 





Current Intraday High and Current intraday Low ???


Discussion in EasyLanguage Programming

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




 
 

Current Intraday High and Current intraday Low ???

 
JayceNugent
Madrid Spain
 
Posts: 3 since Apr 2011
Thanks Given: 0
Thanks Received: 1

I am new to Tradestation/EasyLanguage and this is probably a stupid question but i cannot find out how to plot/program the current days high on a 1minute chart, and current days low on a 1minute chart..

The idea is that it would show me the current days high/low as the day progresses.

Thanks
-Jayce


Can you help answer these questions
from other members on NexusFi?
What broker to use for trading palladium futures
Commodities
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
Quant vue
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
 
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157

vars:
TodayLow(0),
TodayHigh(0);

TodayLow = LowD(0);
TodayHigh = HighD(0);

Plot1(TodayLow,"TodayLow");
Plot2(TodayHigh,"TodayHigh");

Now be careful if wanting the session high if a session rolls into two days. For example, certain futures might start trading at 5 PM Central time and you may want the session low/high rather than the day. If this is the case you can use LowSession(0,0) and HighSession(0,0) to get the high and low of a given session. Or you could do something like the below

inputs:
Day1Session2(1);//Changing between 1 and 2 will change how High/Low is calculated

vars:
TodayLow(0),
TodayHigh(0);

If Day1Session2 = 1 then begin
TodayLow = LowD(0);
TodayHigh = HighD(0);
end
else if Day1Session2 = 2 then begin
TodayLow = LowSession(0,0);
TodayHigh = HighSession(0,0);
end;

Plot1(TodayLow,"TodayLow");
Plot2(TodayHigh,"TodayHigh");

Visit my NexusFi Trade Journal
Thanked by:
 
JayceNugent
Madrid Spain
 
Posts: 3 since Apr 2011
Thanks Given: 0
Thanks Received: 1


Awesome !!!! Thankyou ShadowFox !!!!

Thanked by:

 



Last Updated on May 9, 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