NexusFi: Find Your Edge


Home Menu

 





Intraday studies on HIGH/LOW time


Discussion in MultiCharts

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




 
 

Intraday studies on HIGH/LOW time

 
 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

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
Quantum physics & Trading dynamics
The Elite Circle
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
54 thanks
Just another trading journal: PA, Wyckoff & Trends
19 thanks
Self sabotage reframed
15 thanks
Trading with Intuition
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
 
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

 
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 483
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

 



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