High price during RSI oscillation - futures io
futures io

High price during RSI oscillation

Discussion in EasyLanguage Programming

    1. trending_up 1,411 views
    2. thumb_up 2 thanks given
    3. group 3 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 125,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

High price during RSI oscillation

(login for full post details)
  #1 (permalink)
Akron, OH
Posts: 7 since Nov 2021
Thanks: 0 given, 3 received


Using RSI oscillator. What would be the code to compare the price high while the oscillator is above 60 to the high price the next time the oscillator is above 60? The only caveat is I only want to compare the prices if during that period the the RSI oscillator travels below 30.

So if RSI is above 60....then drops below 60 but never gets below 30..I don't need to perform the price comparison. Hope that makes sense. Thank you for any help

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

Can you help answer these questions
from other members on futures io?
Tick counter that works with directions?
Take Profit/ Tpx during crypto futures trading
Crypto Futures
Emini Trading Levels
Emini and Emicro Index
(login for full post details)
  #2 (permalink)
toronto canada
Posts: 14 since May 2021
Thanks: 13 given, 6 received

Hum, I have no clue as to what you want to do here: could you provide a sample chart with the areas you want to compare? Are you looking for divergence of the price and oscillator?

Reply With Quote
(login for full post details)
  #3 (permalink)
Posts: 19 since Aug 2012
Thanks: 1 given, 13 received


RSIValue = RSI(C, RSIPeriod);
condition1 = status = 0 and RSIValue crosses below LowRSI;
condition2 = status = 1 and RSIValue crosses above HighRSI;

if condition1 then begin
if L < Previouslow then lowerPrice = true else lowerPrice = false;
previouslow = L;
status = 1;

if condition2 then begin
if H > Previoushigh then higherPrice = true else higherPrice = false;
previoushigh = H;
status = 0;
with this code you should achieve on both sides what you wanted
for the long side only, so you can act according to the lowerPrice/higherPrice

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

futures io Trading Community Platforms and Indicators EasyLanguage Programming > High price during RSI oscillation

Last Updated on December 5, 2021

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Copyright © 2022 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