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,775 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?
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
Roland Garros Final Day: $3M on Zverev at 80.5% -- Leban …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #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