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,254 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?
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
ATFX Suspends Prop Trading Unit ATFunded -- Full Review …
Funded Trading Evaluation Firms
Election Sunday Resolves: Peru Heads to Runoff at 42pct, …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #2 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Legendary Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,580 since Oct 2009
Thanks Given: 4,267
Thanks Received: 6,202


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