NexusFi: Find Your Edge


Home Menu

 





high low analysis


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
No book, only a stair: journaling fills where price move …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
My Rant with AMP Futures
Trading Reviews and Vendors
Trump Media to sell instant access to market-moving soci …
Traders Hideout
EA
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
TopStep Trader disappointment
2 thanks
Johnnys Journal
2 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


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 X Reply With Quote
Thanked by:




Last Updated on April 22, 2019


© 2026 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 - Downloads - Top
no new posts