NexusFi: Find Your Edge


Home Menu

 





Intraday studies on HIGH/LOW time


Discussion in MultiCharts

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




 
Search this Thread

Intraday studies on HIGH/LOW time

  #1 (permalink)
 ptcm 
Taiwan
 
Experience: Intermediate
Platform: MC
Posts: 77 since Jun 2010
Thanks Given: 8
Thanks Received: 17

I've tried to do this in Python but still haven't figured out how.

Just wondering if intraday 1 min chart is plotted on MC. What would be the easiest way to extract the specific day HIGH and day LOW time ?

Is there any direction function available in easy language to achieve that ?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
Transatlantic
Los Angeles, CA
 
Posts: 14 since Sep 2015
Thanks Given: 0
Thanks Received: 3

I think you will need to keep a counter of how many bars into the Current Session you are. If you do that, then:

HighestBar(High, Num_Bars_Into_Current_Session) will return the number of bars ago from the Current Time the High of the Current Session occurred.

Then you need to convert from # of Bars ago to a Time but that should be doable if you are using Fixed Time Bars.

Also, HighSession(1,0) will return the High of the Current Session. But that does not get you the time you need.

Worst case you can use a For Loop to do this but I think a combination of HighestBar and LowestBar will do the trick.

Hope this helps.


integer HighestBar( double Price, double Length )

Summary:
Returns the number of bars ago the highest value occurred

Parameters:
Price:
Length:

Return Values:
integer: Returns the number of bars ago the highest value occurred

Example:
Value1=HighestBar(High, 20);

Help: HighestBar

Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629


ptcm,

a simple approach would be to use two variables that you reset at the beginning of the day (at that moment you could write the old variable values to a file) and update every time a higher high or lower low is made. At the same time would store the time of that high/low in another variable.

Regards,

ABCTG


ptcm View Post
I've tried to do this in Python but still haven't figured out how.

Just wondering if intraday 1 min chart is plotted on MC. What would be the easiest way to extract the specific day HIGH and day LOW time ?

Is there any direction function available in easy language to achieve that ?


Follow me on Twitter Reply With Quote




Last Updated on January 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