OPEN-SOURCE SCRIPT

Gap Down Reversal Strategy

מעודכן
A "Gap down Reversal" is when the current days candle, opens, below the prior days close, and "finishes up" on the day with the close greater than the open. This type of price action can provide traders with favorable entry points to trade long, as anyone who was short the prior day, can get squeezed or panic out of the trade as they would see profits erode quickly from the gap down at the open.

Strategy results are shown on SHOP with 10k starting capital and 10k per trade. The strategy enters at next days close after the gap down reversal fires off, and a 5% trailing stop order is also executed. This is important to understand when experimenting with different trailing stops on different symbols and observing results to find the most viable strategy. The discretionary trader may choose to enter at the close, or at the next days open, so understand results are not calculated for those entry points.

You also may alter the start date of the strategy, so you can include, or exclude certain dates.

Experiment with different stops and symbols! More volatile symbols most likely will need looser stops and Vice Versa. Concentrate on symbols in up trends, as "the dips" usually get consistently bought in these names, but hard reversals in downtrends can happen as well.

Any questions/concerns please let me know and happy trading.
הערות שחרור
1. Cleaned up the code

2. **** Would like to clarify and rectify an error in description, the strategy enters at next day's open, NOT, next days close, after the gap down reversal occurs.*****
הערות שחרור
I Updated the previous strategy to only take trades when the previous candle is red, and the next day's open is below the previous days low, and that candle closes green. The strategy will take the trade after that condition is met on the next day. Trailing stop loss % is adjustable and should be changed for different names which have different levels of volatility. I also changed the trailing stop loss to calculate based on the open price, not the close price.
Candlestick AnalysisdowngapgapdownreversalLONGreversaltkp

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?


גם על:

כתב ויתור