Ultimate Oscillator Strategy Code - futures io
futures io



Ultimate Oscillator Strategy Code


Discussion in EasyLanguage Programming

Updated
    1. trending_up 3,642 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 1 posts
    2. attach_file 1 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
 

Ultimate Oscillator Strategy Code

(login for full post details)
  #1 (permalink)
Prophet85
Gothenburg Sweden
 
 
Posts: 75 since Jul 2019
Thanks: 53 given, 23 received

Hi

So I know that TS has the Ultimate Oscillator Strategy as a function. However I am trying to use this as a strategy as explained in e.g Investopedia (https://www.investopedia.com/terms/u/ultimateoscillator.asp) and would appreciate some help.

As stated in the link I would like to buy when all the following is true:

1. a bullish divergence must form. This is when the price makes a lower low but the indicator is at a higher low.
2. the first low in the divergence (the lower one) must have been below 30. This means the divergence started from oversold territory and is more likely to result in an upside price reversal.
3. the Ultimate oscillator must rise above the divergence high. The divergence high is the high point between the two lows of the divergence.

I am kind of at a loss on how to write this as a code. Any help would be appreciated.

Regards

Reply With Quote

Can you help answer these questions
from other members on futures io?
Market on Close data within IB
Platforms and Indicators
in depth understanding of last, bid, and ask volume in c …
NinjaTrader
Multi Time Frame High/Low/Median levels
NinjaTrader
help with take profit several targets
TradeStation
How do I create Strategy with the Second Entry indicator
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
88 thanks
An embarrassing, honest confession
25 thanks
Sierra vs. Ninja : why I chose .....
8 thanks
ApexTraderFunding.com experience and review
8 thanks
Want your NinjaTrader indicator created, free?
7 thanks
 
(login for full post details)
  #2 (permalink)
 atrade 
Loa Angeles
 
Experience: Intermediate
Platform: OEC
Trading: ES
 
Posts: 12 since Jan 2012
Thanks: 39 given, 8 received

See if a simple approach approach would work.


pseudo code:

//conditions to look for:


lowest (pr, len1)=lowest len(pr, len2)
//want them to be the same (=) because otherwise the first low would be lower

lowest (uo, len1) > lowest (uo, len2) and lowest (uo, len2) <30





Otherwise you might have to use code from zigzag and or count bars back to get those locations.

Reply With Quote
The following user says Thank You to atrade for this post:


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Ultimate Oscillator Strategy Code


Last Updated on November 1, 2021


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