Wordcloud
Strategy: new_turtle
Downloaded: 20220115
Stoploss: -30


Not Enough Data to display!

Average Overall
Not Enough Data! / Avg statistics not populated yet.
The "new_turtle" strategy is a backtesting strategy that involves several technical analysis (TA) indicators. It calculates the average true range (ATR) and uses it to determine upper and lower limits for trading decisions. Here's a breakdown of the strategy's steps: Populating Indicators: The strategy adds various TA indicators to the input DataFrame, such as average true range (ATR), highestC (rolling maximum of high prices), lowestC (rolling minimum of low prices), hiLimit (upper trading limit), and loLimit (lower trading limit).

Calculation of 'ret' (Return): It calculates the 'ret' value based on the current close price and the hiLimit and loLimit values.

If the close price is higher than both limits, 'ret' is set to hiLimit; if the close price is lower than both limits, 'ret' is set to loLimit; otherwise, 'ret' retains its previous value.

Calculation of 'pos' (Position): The 'pos' value is determined based on the comparison between the close price and 'ret'. If the close price is higher than 'ret', 'pos' is set to 1 (indicating a long position); if the close price is lower than 'ret', 'pos' is set to -1 (indicating a short position); otherwise, 'pos' retains its previous value. If the average true range is zero, 'pos' is set to 0. Calculation of 'rising' and 'falling': These variables track whether the closing prices are rising or falling within a specified bar delay. If the closing price decreases during any of the preceding bars, 'rising' is set to False. If the closing price increases during any of the preceding bars, 'falling' is set to False. Entry and Exit Conditions: The strategy determines entry and exit points based on specific conditions. If 'enterLong' is True, it indicates a long trade entry; if 'enterShort' is True, it indicates a short trade entry. 'Long_exit' and 'Short_exit' variables determine exit conditions. Trailing Stop: If enabled, the strategy applies a trailing stop for long and short trades. The stop price is calculated based on the current high/low prices and the average true range (ATR). The stop price is adjusted dynamically as new data becomes available. Overall, the strategy aims to capture trends and enter trades based on price movements relative to calculated limits. The use of indicators and trailing stops adds additional conditions to refine trade entries and exits.

startup_candle_count : 50
avgTR: 1.592%
hiLimit: -0.118%
loLimit: 0.116%
ret: -0.118%
stoploss: -30
timeframe: 1d
hash(sha256): d25bae04bbc9cb70ae2ec209dff18525a421d2dbef39a21cf6836cde8a745f55
indicators:
high Long_exit highestC avgTR loLimit
Short_exit low enterLong enterShort hiLimit
_avgTR lowestC

No similar strategies found. (based on used indicators)

last change: 2023-10-04 09:42:51