Top Banner
TradersMeetup.net Algorithmic Trading 102 TripleRSI
34

TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Mar 25, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TradersMeetup.net

Algorithmic Trading 102TripleRSI

Page 2: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

DisclaimerDisclaimer: Neither TradersMeetup.net nor its organizers, hosts or presenters are licensed financial advisors, registered investment advisors, registered broker-dealer nor FINRA | SIPC | NFA-member firm. In accordance to the policies of TradersMeetup.net, this presentation does not provide investment or financial advice or make investment recommendations. TradersMeetup.net is not in the business of transacting trades, nor does TradersMeetup.net agree to direct your brokerage accounts or give trading advice tailored to your particular situation. The content of today’s presentation does not constitutes a solicitation, recommendation, promotion or endorsement of any particular security, other investment product, transaction or investment.

Trading Futures, Options on Futures, and retail off-exchange foreign currency transactions involves substantial risk of loss and is not suitable for all investors. You should carefully consider whether trading is suitable for you in light of your circumstances, knowledge, and financial resources. You may lose all or more of your initial investment. Opinions, market data, and recommendations are subject to change at any time.

All rights reserved. This Material may not be reproduced or distributed, in whole or in part, any other reproduction in whatever form and by whatever media, is expressly prohibited without the prior written consent of TradersMeetup.

No Soliciting. Recording OK!. Photography OK!. (FOR THIS PRESENTATION)

Page 3: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

AGENDA• Algo Trading Overview• What is RSI indicator• Why 3x the RSI• Platform: Multicharts (using Power Language)• Setting up the Indicators• Studying the Chart• Reviewing potential entry Signals (Algo)• Risk Management, Position Sizing• Backtesting, Walk-forward testing, incubation• Tools, software, resources

Page 4: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Q&A

Quick ReviewAlgorithmic Trading

Page 5: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

What is Algorithmic Trading?

• Employing computers to follow a set of instructions (an algorithm) to place trades for profit.

• Defined sets of rules can be based on timing, price, quantity or any mathematical model.

• Understand your market. Research and identify edge.

• Define the ENTRY and EXIT signals.

• Studying the signals as a step in developing an overall trading strategy.

Page 6: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

WHY TO PEOPLE USE IT ?

• Trades can execute at best possible pricing

• Instant and accurate order placement

• Reduced risk of manual errors

• Can be backtested quickly

• Reduce emotional/psychological factors that cause mistakes

Creates a systematic approach to trading whereby:

Page 7: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Idea Modeling

• Keep it simple, to start

• Define your approach: time, ticks, bartype, etc.

• Understand your market, edige, signal(s), position, money

management, risk management

• Study what happens when your event takes place?

• More advanced, create a probability indicator for your entries/exits

Page 8: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Risk Management

• Stop Loss (specific threshold or formula)• Profit Target (specific threshold formula)

Method you use can be dependent upon strategy you apply. (e.g. applying a fixed Stop Loss to a Mean Reversion strategy may reduce overall performance)

Page 9: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Position SizingPosition sizing is a technique that consists of adjusting the size or the number of shares/contracts of a position before or after initiating a buy or a short trading order.

Position sizing is very important and if applied correctly, it can dramatically improve your strategy performance and help you avoid ruin.

Some Position Sizing Techniques:

• Fixed Dollar Amount

• Fixed Risk per Trade

• Volatility based Position Sizing

• Kelly Criterion

• Averaging Down

• Optimizing Position Sizing variables

• others...

Page 10: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Backtesting, Walk Forward TestingBacktesting is carried out by exposing your particular strategy algorithm to a stream of historical financial data, which leads to a set of trading signals.

Backtesting should include all trading costs.

Walk Forward Testing: In Sample / Out of Sample

No backtest is perfect nor should be considered an indicator of what your future results would be.

Equity Curve

Draw Down

Monte Carlo

Variance Testing

Equity Bands

Seasonality

Noise Test

Fitness Function: Profit & Loss, Sharpe, Sortino, DrawDown, T-Test, etc.

Page 11: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Q&A

RSI Indicator

Page 12: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

What is the RSI Indicator ?The relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. The RSI is displayed as an oscillator (a line graph that moves between two extremes) and can have a reading from 0 to 100.

The indicator was originally developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, New Concepts in Technical Trading Systems.

Page 13: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

How is RSI Calculated 100 RSI = 100 - -------- 1 + RS

RS = Average Gain / Average Loss

Recommend minimum 250 bars for best smoothing of numbers going forwardWilder recommends period of 14. This can be lowered to increase sensitivity or raised to decrease sensitivity.

RSI is considered overbought when above 70 and oversold when below 30. These traditional levels can also be adjusted to better fit the security or analytical requirements.

Signals can also be generated by looking for divergences, failure swings and centerline crossovers. Divergences that occur after an overbought or oversold reading usually provide more reliable signals.Center line is 50, which can be used to confirm a bullish signal (50+) or bearish (50-) bearish signal.

Page 14: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Single RSI

Page 15: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

SingleRSI(14)

Scale: 0-100> 70 suggests Overbought< 30 suggests Oversold

{

Page 16: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

SingleRSI(14)Overbought and Oversold Signals

Page 17: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

SingleRSI(14)Overbought Signal unclear

??

?

Page 18: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI

Page 19: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)

Page 20: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)Correlated Signal

Page 21: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)RSI(5)

Page 22: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)RSI(14)

Page 23: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)RSI(21)

Page 24: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)Signal Candle

Page 25: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)Close of Signal Candle

Page 26: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)Entry Point at Next Open

Page 27: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSIPossible exits

Page 28: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

TripleRSI(5,14,21)Exit Point

Page 29: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Exit SignalsRSI alone does not provide adequate entry/exit signals. TripleRSI alone may not be adequate either. Other IDEAS to consider while testing include:● Instrument (symbol)● Timeframe● BarType● Exit #bars or #ticks or $profit target● Additional indicator(s)● Other solutions you’ve learned here at TradersMeetup

Page 30: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Other ConsiderationsConsider● Same indicator for exit● Alternate indicators such as SMA, EMA, Gann, etc.● Use signal to scalp a few ticks● Multiple contracts with multiple targets

Key: Position Sizing, Risk Management, Money Management

Page 31: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Q&A

Let’s view a live chart...

Page 32: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

A word about EDGEIdentifying EDGE in the market is challenging and takes a great deal of time and effort. All EDGE is not permanent; adjustments or termination may be required.

Beside Backtesting, use Market Playback (Reply), and always Walk-forward Test your strategies.

Apply Risk Management and Money Management techniques.

Read, Study, books, others Code, others Strategies. Good luck exploring!

Page 33: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Q&A

Page 34: TripleRSI TradersMeetup.net Algorithmic Trading 102tradersmeetup.net/wp-content/uploads/2019/05/Algo-Trading-102.pdfWhat is the RSI Indicator ? The relative strength index (RSI) is

Algorithmic Trading - Thank you

Contact:

[email protected] &

[email protected]