Loading...
Continue to Myfxbook.com
Continue to Myfxbook.com
Pieslēgties
Sign Up
Open an account with FOREX.com
FX Tools:
Ekonomisko notikumu kalendārs
Interest Rates
FX Calculators
News
spreads
Apskats
Forex Heat Map
Correlation
Market Hours
Sākumlapa
nulll
ziņas
Share
Share this page!
Pievienoja lietotājs
nulll
I need help solving this programming Riddle (RSI).
in
Programmēšana
Oct 06, 2019 at 02:29
@agaguilara, this is what you want_rsi = rsi(close, 14)enter_long = crossover(_rsi, 30)exit_long = crossover(_rsi, 70)enter_short = crossunder(_rsi, 70)exit_short = crossunder(_rsi, 30)strategy.entry(id="Buy it", long=true, qty=1.0, when=enter_long)strategy.exit(id="Sell it", from_entry="Buy it", qty=1.0, when=exit_long)strategy.entry(id="Short sell it", long=false, qty=1.0, when=enter_short)strategy.exit(id="Cover it", from_entry="Short sell it", qty=1.0, when=exit_short)
You have an Ad Blocker!
Myfxbook is a site supported by advertisements. Here are two ways for you to continue browsing:
Ad Free Subscription
or
Disable your Ad Blocker
Already subscribed?
Pieslēgties
You're not logged in
This feature is available for registered members only.
Registration is free and takes less than a minute.
Click the sign up button to continue.
Unless you're already a member and enjoying our service, then just sign in.
Keep up to date with the markets
Enable notifications to receive real-time important market updates:
Ekonomisko notikumu kalendārs
Forex ziņas
You can disable notifications at any time from your browser.
Unblock Notifications
You've blocked browser notifications for Myfxbook.com. Please enable it:
You can disable notifications at any time from your browser.
IEPRIEKŠĒJĀS
VIENPRĀTĪBA
AKTUĀLS