NexusFi: Find Your Edge


Home Menu

 





How to do sto of a sto with OEC EasyLanguage or c# ?


Discussion in Traders Hideout

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




 
Search this Thread
  #1 (permalink)
thailerdurden
san antonio, tex
 
Posts: 79 since Nov 2014
Thanks Given: 17
Thanks Received: 33

stochastic of a stochastic or (currentSTOchastic- 10STOlow)/(10STOhigh-10STOlow) ;10STOlow= lowest stochastic of the last 10 bars.

And the Max and Min functions will only compare 2 values.
Easylanguage stochastic doesn't work
And Low[10] gives the low 10 bars ago only for price. Not the lowest of last 10 bars.

And Range function doesn't work at all

It worked before I had to wipe clean the hard drive.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
Building a free browser DOM/SMC simulator - need some ad …
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
No book, only a stair: journaling fills where price move …
Cryptocurrency
 
  #3 (permalink)
thailerdurden
san antonio, tex
 
Posts: 79 since Nov 2014
Thanks Given: 17
Thanks Received: 33


C# and enter in the stochastic10price by setting it equal to InputData

Result.Value = (InputData[0]-System.Math.Min(InputData[1],System.Math.Min(InputData[2],System.Math.Min(InputData[3],System.Math.Min(InputData[4],System.Math.Min(InputData[5],System.Math.Min(InputData[6],System.Math.Min(InputData[7],System.Math.Min(InputData[8],System.Math.Min(InputData[9],InputData[9]))))))))))/(System.Math.Max(InputData[1],System.Math.Max(InputData[2],System.Math.Max(InputData[3],System.Math.Max(InputData[4],System.Math.Max(InputData[5],System.Math.Max(InputData[6],System.Math.Max(InputData[7],System.Math.Max(InputData[8],System.Math.Max(InputData[9],InputData[9])))))))))-System.Math.Min(InputData[1],System.Math.Min(InputData[2],System.Math.Min(InputData[3],System.Math.Min(InputData[4],System.Math.Min(InputData[5],System.Math.Min(InputData[6],System.Math.Min(InputData[7],System.Math.Min(InputData[8],System.Math.Min(InputData[9],InputData[9]))))))))));
}

OK, when everyone is through laughing at my cludgy programming, could someone come up with something elegant?


Reply With Quote




Last Updated on January 21, 2016


© 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