NexusFi: Find Your Edge


Home Menu

 





Current Intraday High and Current intraday Low ???


Discussion in EasyLanguage Programming

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




 
Search this Thread

Current Intraday High and Current intraday Low ???

  #1 (permalink)
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

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Trend Direction Force Index (TDFI)
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 
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 Reply With Quote
Thanked by:
  #3 (permalink)
JayceNugent
Madrid Spain
 
Posts: 3 since Apr 2011
Thanks Given: 0
Thanks Received: 1


Awesome !!!! Thankyou ShadowFox !!!!

Reply With Quote
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