TradingView
PtGambler
2022년 4월 4일 오후 5시 42분

TICK Scalping strategy, SPY 1 min 

SPDR S&P 500 ETF TRUSTArca

설명

1 min chart scalping version of my other TICK strategy with adjusted parameters and additional entry and exit conditions better suited for 1 min SPY chart. Please refer to my original TICK strategy for explanation.
https://www.tradingview.com/script/5NpphIlt-TICK-strategy-for-SPY-options/

Important notes:
1. This strategy is designed for same day SPY option scalping on the 1 min chart. All profit shown in back testing report is based on Profit/Loss (P/L) estimates from trading options with approximately 6 weeks of data. By default, it is set to 10 option contracts. By default the initial capital is set to $5000. Pyramiding is set to 3.
2. This strategy works better with non-extended market data.
3. This strategy is mainly developed for SPY trading on 1 min chart, it probably will not be very profitable with other tickers or time frame without tweaking all the parameters first.

Cheers and enjoy~! Let's all make money~!!

릴리즈 노트

Updated strategy description for clarification:

Initial capital: $5000
Pyramiding: 3
Commission: *set to approximate for 10 option contracts
Back testing range: Feb 22 - Apr 4, 2022

How it works:
When trading the indices, many rely on the TICK for market directions. This strategy is a trend following strategy that uses a combination of conditions using the following indicators:
- TICK
- RSI
- VIX volatility index
- EMA

For entries, the conditions are:
1. TICK moving average crossover with a delayed signal line
2. Bullish or bearish RSI signal, RSI > 50 for bullish , < 50 for bearish
3. VIX must be above a certain threshold to take advantage of high market volatility
4. Price must be on top of EMA line for long, and below for short
5. Price has not moved significantly already (this delta can be set)

For exits, there are 3 scenarios:
1. Stop loss set by a percentage of the daily ATR value
2. Trend changes on the TICK and the RSI
3. Bearish or bullish divergence on price with TICK

This strategy automatically signal to close all trades at 3:50 pm EST at the end of the day.

Extras:
- There is an option to show P/L for reinvesting profits

릴리즈 노트

Made some enhancement to significantly reduce drawdowns and expanded entry opportunities:
1. Added option to trade TICK divergences (regular bullish / bearish divergences)
2. Added option to use Stochastic RSI for optimal entry (ie. when the stochastic RSI is in the lower range for longs, upper range for short)
3. Added option to "chase" the trend after an exit is the conditions are still favourable
4. Added option to hold 1/2 positions overnight on Tues / Thurs

All of these options can be turned on/off~

릴리즈 노트

Market is always changing, and strategy should adapt too. Updating default parameters to better suit the current market conditions. Mainly determining factor is based on Net Profit from back testing results.
- Trade with price target -> default to ON
- % ATR for price target -> changed from 23 to 17.5
- RSI signal length -> changed from 5 to 6
- RSI moving average line -> changed form SMA to WMA method
- Removed pause trade on significant price movement

Back testing results comparison between previous version vs new version, from Apr 18 to May 27, 2022:
- Net profit -> 56.45% to 122.57%
- Total trades -> 83 to 112
- % Profitable -> 56.63% to 54.46%
- Profit Factor -> 1.299 to 1.505
- Max drawdown -> 34.76% to 24.55%

Overall profitability should have improved~ DM me if you would like access to old version source code.

Let's all make $$$~~!!!

릴리즈 노트

Added option to use as an indicator only (all strategy entry/exit signals disabled)
코멘트
kaskam
Hello sir @platsn
Please I wanted to know how to enable the indicator to run without the pauses.
I developed a strategy to use it in forex but still cant find a way to stop the indicator from pausing. Thanks!
PtGambler
@kaskam, not sure what you mean, DM me for details
PtGambler
@kaskam, I think I might've figured out what you mean by "pauses". Are you referring to the period of no movement on the indicator? If so, that's because TICK data is only active during regular stock market trading hours 9:30 - 16:00 EST.
ReturnToTheWomb
@PtGambler Hello. I'm hoping you or somebody else might help me. Thank you all ahead of time. I've copied and pasted this code, added it to a 1-minute SPY chart, and the "TICK strategy, SPY 1 min" pane appears (beautiful, by the way). But, there are never any positions/arrows that show up on the actual SPY chart. No trades are ever made. The Strategy Tester gives me the "This strategy did not generate any orders throughout the testing range" message. Also, letting it run in real time with Paper Trading during the day doesn't help the situation either. What am I doing wrong?
Jacintyn
Thank you a lot, i have a good profit because of this strategy, use it automated trading on Finandy!
PtGambler
@Jacintyn, awesome! that's what i love to hear~ let's all make $$$ :D
jferheart
@PtGambler, have you used it on Finandy? I was hoping to try it out on ES.
jferheart
@Jacintyn, how is the automated trading going with the script? what are you trading?
vkohli13
Nice work but enable to backtest for January month 2024.
더보기