Custom Indicators · Ethereum Tracking Strategy · Bottom Fishing and Take Profit

CN
10 hours ago

1. Ethereum Tracking Strategy · Bottom Fishing and Take Profit | Recent Results

  • 5 minutes · Bottom Fishing and Take Profit · 4 wins in 4 battles

  • 30 minutes · Ethereum Tracking Strategy · Bottom Fishing and Take Profit · 5 wins in 5 battles

  • 4 hours · Ethereum Tracking Strategy · Bottom Fishing and Take Profit · 5 wins in 5 battles

2. Strategy Source Code Sharing

// @version=2

// If the initial order amount is 50u, then in extreme cases, a total of 3 additional orders will require 400u. Please prepare sufficient funds in advance.

[td]=td(close);

start_signal = td == -9

end_signal = td == 9

stop_loss = 0.2 // Stop loss line, after all additional orders are placed, if the price continues to drop xx, it will trigger a forced stop loss

take_profit = 0.02 // Take profit line, if the price rises xx compared to the average opening price, it will take profit and close the position.

safety_order_pct = 0.02 // The interval for placing additional orders, if the price drops xx after placing an additional order, it will trigger another additional order, with a maximum of 3 additional orders.

first_order_amount = 0.1 // The quantity for the first order, subsequent additional orders will automatically calculate the order quantity.

safety_order1_amount = first_order_amount

safety_order2_amount = first_order_amount + safety_order1_amount

safety_order3_amount = first_order_amount + safety_order1_amount + safety_order2_amount

safety_order4_amount = first_order_amount + safety_order1_amount + safety_order2_amount + safety_order3_amount

safety_order5_amount = first_order_amount + safety_order1_amount + safety_order2_amount + safety_order3_amount + safety_order4_amount

var long_count = 0

var long_avg = 0

var long_close = 0

var long_amount = 0

first_order = start_signal and long_count == 0

enterLongAmount(first_order, id = 'First Order', price='market', amount=first_order_amount)

plotText(first_order, title='First Order', text = 'First Order', refSeries = close, bgColor='green', color='white', fontSize=14, placement='bottom' ,display=true);

alertcondition(first_order, title='First Order', direction='buy');

if (first_order) {

long_count := long_count + 1

long_avg := close

long_close := close

long_amount := first_order_amount

}

place_safety_order1 = (close - long_close)/long_close < -1 * safety_order_pct and long_count == 1 and start_signal

enterLongAmount(place_safety_order1, id = 'Additional Order 1', price='market', amount=safety_order1_amount)

plotText(place_safety_order1, title='Additional Order 1', text = 'Additional Order 1', refSeries = close, bgColor='green', color='white', fontSize=14, placement='bottom' ,display=true);

alertcondition(place_safety_order1, title='Additional Order 1', direction='buy');

if (place_safety_order1) {

long_count := long_count + 1

long_avg := (close + long_avg)/2.0

long_close := close

long_amount := long_amount + safety_order1_amount

}

place_safety_order2 = (close - long_close)/long_close < -1 * safety_order_pct and long_count == 2 and start_signal

enterLongAmount(place_safety_order2, id = 'Additional Order 2', price='market', amount=safety_order2_amount)

plotText(place_safety_order2, title='Additional Order 2', text = 'Additional Order 2', refSeries = close, bgColor='green', color='white', fontSize=14, placement='bottom' ,display=true);

alertcondition(place_safety_order2, title='Additional Order 2', direction='buy');

if (place_safety_order2) {

long_count := long_count + 1

long_avg := (close + long_avg)/2.0

long_close := close

long_amount := long_amount + safety_order2_amount

}

place_safety_order3 = (close - long_close)/long_close < -1 * safety_order_pct and long_count == 3 and start_signal

enterLongAmount(place_safety_order3, id = 'Additional Order 3', price='market', amount=safety_order3_amount)

plotText(place_safety_order3, title='Additional Order 3', text = 'Additional Order 3', refSeries = close, bgColor='green', color='white', fontSize=14, placement='bottom' ,display=true);

alertcondition(place_safety_order3, title='Additional Order 3', direction='buy');

if (place_safety_order3) {

long_count := long_count + 1

long_avg := (close + long_avg)/2.0

long_close := close

long_amount := long_amount + safety_order3_amount

}

place_stop_loss_order = long_count >= 4 and (close - long_close)/long_close < -1 * stop_loss

exitLongPercent(place_stop_loss_order, id = 'Stop Loss', price='market', percent=100)

plotText(place_stop_loss_order, title='Stop Loss', text = 'Stop Loss', refSeries = close, bgColor='red', color='white', fontSize=14, placement='top' ,display=true);

alertcondition(place_stop_loss_order, title='Stop Loss', direction='sell');

if (place_stop_loss_order) {

long_count := 0

long_avg := 0

long_close := 0

long_amount := 0

}

place_take_profit_order = (close - long_avg)/long_avg > take_profit

exitLongPercent(place_take_profit_order, id = 'Take Profit', price='market', percent=100)

plotText(place_take_profit_order, title='Take Profit', text = 'Take Profit', refSeries = close, bgColor='red', color='white', fontSize=14, placement='top' ,display=true);

alertcondition(place_take_profit_order, title='Take Profit', direction='sell');

if (place_take_profit_order) {

long_count := 0

long_avg := 0

long_close := 0

long_amount := 0

}

td_take_profit_order = (close - long_avg)/long_avg > 0 and end_signal

exitLongPercent(td_take_profit_order, id = 'TD Take Profit', price='market', percent=100)

plotText(td_take_profit_order, title='Take Profit', text = 'TD Take Profit', refSeries = close, bgColor='red', color='white', fontSize=14, placement='top' ,display=true);

alertcondition(td_take_profit_order, title='TD Take Profit', direction='sell');

if (td_take_profit_order) {

long_count := 0

long_avg := 0

long_close := 0

long_amount := 0

}

var active_long_profit_monitor = false

var long_max_profit = 0

var active_long_drawdown_order = false

long_signal = start_signal // true or false long signal

active_trail = 0.01 // Activate trailing stop when rising by 1%

drawdown = 0.5 // Close position if it retraces 50% from the highest point

if (long_count > 0) {

profit = (close - long_avg) / long_avg

if (profit > long_max_profit) {

long_max_profit := profit

}

if (profit > active_trail and long_max_profit > active_trail) {

active_long_profit_monitor := true

}

if (active_long_profit_monitor) {

back = profit/long_max_profit

if (back < drawdown and profit > 0) {

active_long_drawdown_order := true

}

}

} else {

active_long_drawdown_order := false

active_long_profit_monitor := false

long_max_profit := -999999999

long_avg := 0

}

exitLongPercent(active_long_drawdown_order, id = 'long_take_profit', price='market', percent=100)

plotText(active_long_drawdown_order, title='active_long_drawdown_order', text = 'Trailing Stop', refSeries = high, bgColor='red', color='white', fontSize=14, placement='top' ,display=true);

if (active_long_drawdown_order) {

long_count := 0

long_avg := 0

long_close := 0

long_amount := 0

}

(This strategy needs to run on the AiCoin custom indicator panel)

3. Ethereum Tracking Strategy · Bottom Fishing and Take Profit | Strategy Summary

The Ethereum tracking strategy is a trading plan suitable for volatile markets and trend reversals, combining the TD reversal indicator and reasonable capital management to efficiently follow market fluctuations. Through this strategy, users can capture rebound opportunities during extreme surges or pullback fluctuations, and optimize costs with the additional order mechanism, while flexibly taking profits to lock in gains.

In practice, it is recommended to prioritize medium to short timeframes (such as 30 minutes or 1 hour) as the basis for executing the strategy; focus on the principles of step-by-step opening positions and decreasing additional orders in capital management; and strictly control risks through dynamic stop-loss and take-profit tools to minimize losses caused by emotional trading or inefficient operations.

Additionally, the strategy emphasizes flexibility in adapting to market conditions, leveraging its advantages in wide fluctuations while avoiding unnecessary frequent trading in narrow range fluctuations. By clearly setting periods, positions, and profit targets, users can achieve stable investments, avoid risks, and effectively enhance trading returns.

In summary, this strategy not only helps users accurately capture market rebounds but also achieves long-term capital safety and maximization of returns through scientific capital management and risk control, making it an excellent choice for dealing with the complex volatility of Ethereum.

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。

BitMart:上新快、福利猛!注册即享14,000+ USDT迎新奖!
Ad
Share To
APP

X

Telegram

Facebook

Reddit

CopyLink