NexusFi: Find Your Edge


Home Menu

 





Coding Statistics Generator


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,432 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?
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
April Jobs Beat Flips Fed Hike Odds Past 52% for First T …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
197 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
BERN ALGOS algo trading journal
8 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642


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,642

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