NexusFi: Find Your Edge


Home Menu

 





Intraday studies on HIGH/LOW time


Discussion in MultiCharts

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




 
Search this Thread
  #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?
Radarscreen
TradeStation
Has anyone taken trading from Agnieska Wood - Ahead Coach?
Psychology and Money Management
MC PL editor upgrade
MultiCharts
Topstep experience and review
Trading Reviews and Vendors
What You Know vs How much you know about it
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
144 thanks
1 Minute Man
63 thanks
HumbleTraders next chapter
42 thanks
Winning attitudes create winning traders
35 thanks
Vinny E-Mini & Algobox Review TRADE ROOM
25 thanks
  #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: 486
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