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 743 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

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

  #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?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
Increase in trading performance by 75%
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
23 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
9 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,527 since Oct 2009
Thanks Given: 4,174
Thanks Received: 6,019


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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts