NexusFi: Find Your Edge


Home Menu

 





Coding Statistics Generator


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
 
simon14's Avatar
 simon14 
TORONTO
 
Experience: Advanced
Platform: multi charts
Trading: crude cl
Posts: 19 since Sep 2016
Thanks Given: 10
Thanks Received: 6

Hi there,
So I am trying to create an EL code to work on TS to be able to run how often the high or low is created at certain times of the day. My EL skills are novice at best and I can't seem to wrap my mind around how to start since i have only ever written indicators and signals.

For example...

I want to be able to search how often the Low or High is made in the first hour or in the last hour.. or how often the Globex high and low are broken in the same day.

Is this even possible? would i need to call on 2 different data sets 1 intraday and 1 daily?


thanks any input would be helpful

regards
Simon


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
Roland Garros Final Day: $3M on Zverev at 80.5% -- Leban …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
US Prop Firms Race Inside the CFTC Perimeter -- Tradeify …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
30 Sessions
1 thanks
Big Mike in Ecuador
1 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


Hi Simon,

this is possible to do within TS, but will likely require a bit of coding. What data to use will depend on the exact specific scenarios you want your code to look at. You could think about what data you would use, when you want to "manually" do the research, this should also be helpful in coming up with the "pseudo code" that you can later turn into EasyLanguage.
I would suggest taking a look at vectors and dictionaries to familiarize yourself with them as you will need a way to store your results within your code.

Regards,

ABCTG


Follow me on X Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

Hi Simon,

depending on your preferences another idea could be to export the data using the Data Window and then computing the statistics outside of TS.

Regards,

ABCTG


Follow me on X Reply With Quote




Last Updated on September 11, 2018


© 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