tradeforopp

Captain Backtest Model [TFO]

tradeforopp 업데이트됨   
Created by @imjesstwoone and @mickey1984, this trade model attempts to capture the expansion from the 10:00-14:00 EST 4h candle using just 3 simple steps. All of the information presented in this description has been outlined by its creators, all I did was translate it to Pine Script. All core settings of the trade model may be edited so that users can test several variations, however this description will cover its default, intended behavior using NQ 5m as an example.

Step 1 is to identify our Price Range. In this case, we are concerned with the highest high and the lowest low created from 6:00-10:00 EST.


Step 2 is to wait for either the high or low of said range to be taken out. Whichever side gets taken first determines the long/short bias for the remainder of the Trade Window (i.e. if price takes the range high, bias is long, and vice versa). Bias must be determined by 11:15 EST, otherwise no trades will be taken. This filter is intended to weed out "choppy" trading days.


Step 3 is to wait for a retracement and enter with a close through the previous candle's high (if long biased) or low (if short biased). There are a couple toggleable criteria that we use to define a retracement; one is checking for opposite close candles that indicate a pullback; another is checking if price took the previous candle's low (if long biased) or high (if short biased).


This trade model was initially tested for index futures, particularly ES and NQ, using a 5m chart, however this indicator allows us to backtest any symbol on any timeframe. Creators @imjesstwoone and @mickey1984 specified a 5 point stop loss on ES and a 25 point stop loss on NQ with their testing.

I've personally found some success in backtesting NQ 5m using a 25 point stop loss and 75 point profit target (3:1 R). Enabling the Use Fixed R:R parameter will ensure that these stops and targets are utilized, otherwise it will enter and hold the position until the close of the Trade Window.
릴리즈 노트:
- Added an option to Use Stop Orders for entries. For this particular trade model, when all criteria are met and price closes through the previous high/low (if bias is long/short, respectively), an entry order will be triggered once price trades to the confirmation candle's high/low, instead of entering immediately at the following candle's open. An example of this new behavior can be seen in the following chart:


*Note that the dataset of trades in this publication is rather low because there is not a lot of chart data relative to this strategy's trade frequency (one trade per day, at most). Being that the creators of this model did the bulk of their testing on a 5m chart, and also use some data from Electronic Trading Hours for the Price Range that determines bias, the dataset of trades is expected to be low under these conditions unless Deep Backtesting is utilized. Real Trading Hours would likely pull more data and thus more trades, however it would be insufficient to determine the default Price Range from 6:00-10:00 EST.

*Also note that the starting account value and trade size is not intended to reflect the average trader's account size and risk management. This strategy simply takes positions using one quantity of whatever the chart symbol may be, regardless of the account size.

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?