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



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




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

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

(login for full post details)
  #1 (permalink)
Smiller5
London UK
 
 
Posts: 2 since Jan 2023
Thanks: 0 given, 0 received

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 futures io?
Tradingview Phone Call Alert
Trading Reviews and Vendors
 
Best Threads (Most Thanked)
in the last 7 days on futures io
NinjaTrader Brokerage Services (www.ninjatraderbrokerage …
152 thanks
Big Mike in Ecuador
67 thanks
New NinjaTrader
41 thanks
Selling Options on Futures?
12 thanks
Gradient Color Bars
7 thanks
 
(login for full post details)
  #2 (permalink)
 trendisyourfriend 
Legendary Market Wizard
Quebec
 
Experience: Intermediate
Platform: NinjaTrader wt Rancho Dinero's profiling tools
Broker: AMP/CQG
Trading: ES, NQ, YM
 
trendisyourfriend's Avatar
 
Posts: 4,340 since Oct 2009
Thanks: 4,023 given, 5,724 received


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
 
(login for full post details)
  #3 (permalink)
Smiller5
London UK
 
 
Posts: 2 since Jan 2023
Thanks: 0 given, 0 received


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


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Help with array or how to plot Y for a given X (whereby X meet a condition)


Last Updated on March 11, 2023


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts