NexusFi: Find Your Edge


Home Menu

 





Help with array or how to plot Y for a given X (whereby X meet a condition)


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
Smiller5
London UK
 
Posts: 2 since Jan 2023
Thanks Given: 0
Thanks Received: 0

Hello, Guys quick question to put me on the right track. I believe I need to understand arrays better. So any links to easy explaining of arrays with examples would be great.

Anyway, I am wondering how you can for example plot(indicator) the close prices for a given rule. Say I was to look back 20 days, pick out the lowest SD volatility value /date, and store the close for that pair/date somewhere.

I guess I am trying to learn is if a condition is met for one variable like lowest/highest value for X how do I find out Y for this given X value and plot or store as new variable.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Victory Day Delivers: Russia-Ukraine Ceasefire Market Cl …
Prediction Markets & Event Contracts
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
Hormuz Normalization Collapses to 19.5% -- Iran Regime F …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,581 since Oct 2009
Thanks Given: 4,267
Thanks Received: 6,208


Smiller5 View Post
Hello, Guys quick question to put me on the right track. I believe I need to understand arrays better. So any links to easy explaining of arrays with examples would be great.

Anyway, I am wondering how you can for example plot(indicator) the close prices for a given rule. Say I was to look back 20 days, pick out the lowest SD volatility value /date, and store the close for that pair/date somewhere.

I guess I am trying to learn is if a condition is met for one variable like lowest/highest value for X how do I find out Y for this given X value and plot or store as new variable.

It looks like you are trying to find the equation of a slope. Is that it ?


Reply With Quote
  #3 (permalink)
Smiller5
London UK
 
Posts: 2 since Jan 2023
Thanks Given: 0
Thanks Received: 0


Hello thanks for your reply. No not a slope. It's more of a generic question about how to store info under certain conditions. I thought perhaps an array was needed then found out you can't plot arrays so not sure that's the solution.

Basically, I wanted to store when the volatility was low so the SD value and the close of that same bar in an array or something. Then later use that close price data in some useful way.


Reply With Quote




Last Updated on March 11, 2023


© 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