NexusFi: Find Your Edge


Home Menu

 





high low analysis


Discussion in EasyLanguage Programming

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




 
Search this Thread

high low analysis

  #1 (permalink)
circeo74
rome italy
 
Posts: 1 since Apr 2019
Thanks Given: 0
Thanks Received: 0

Hi everyone and Happy Easter!
I would like to write a show me with a print log that shows me for every year the high and low of the year and in wich month they occorred(and export this study to an external excel file).So for example i can calculate with what percentage the lows of the last 20 years occorred in october and the highs in december and so on.After i would like to go down with this analysis studying for every month when the highs and lows occurred in the first 10 days and last 10 days,and more down how many times occurred in a week at the first 2 days and last 2 days and finally every day in the first x hours and in the last y hours.
Do you think is it possible?
I started writing this code as a show me but it prints for every bar the annual lows and highs but not when they occurred,where am i wrong?Thanks and sorry for my poor english and very poor easylanguage skills

if Year( Date ) <> Year( Date[1] ) then


plot1(lowy(1),!("lowyear"));
plot2(highy(1),!("highyear"));
print(ElDateToString(date)," ", lowy(1):1:5," ", highy(1):1:5);

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Quantum physics & Trading dynamics
The Elite Circle
 
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629


circeo74,

yes, this can be coded, but it might be easier to do the tracking of the values within the code yourself instead of using the built-in functions like lowy or highy. This way you can have your code track the period extremes (like the yearly high) and store the date every time there is a new extreme, too.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on April 22, 2019


© 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