On the evening of March 5th, AICoin researchers conducted a live graphic and text sharing session titled "Grasping the Bottom Fishing Opportunities in Trendy Markets (with Membership Giveaway)" in AICoin PC End-Group Chat-Live. Below is a summary of the live content.
I. Research Institute's Bottom Fishing Strategy Sharing
1. Our Bottom Fishing Strategy
2. Strategy Operation Status
Note: In a bear market, if new lows continue to be made, then one will continue to be trapped; this strategy is only suitable for bottom fishing in a bull market.
II. AI Assistant Position
1. Update to the Latest Version - 2.9.3, which enables the AI assistant to write scripts
2. Specific Position of the AI Assistant, click to use as shown in the figure
III. AI Assistant Script Writing, Bottom Fishing Strategy
1. Asking AI
(1) Question: When the price is above MA120, EMA10 crosses above EMA40, open long; EMA10 crosses below EMA40, close long
(2) AI Response
(3) Copy and use AI directly
(4) Paste and save
2. Asking AI to Write a Grid
(1) Question: Write a grid strategy, grid: rise above 0.15%, pullback 0.02%, buy one position; rise above 0.6%, pullback 0.05%, sell one position
(2) AI Response
// @version=2
// Grid strategy sample code
// Define the percentage change in price function
priceChangePercent(currentPrice, referencePrice) {
return ((currentPrice - referencePrice) / referencePrice) * 100
}
// Get the current price
currentPrice = close
// Get the closing price of the previous candle as the reference price
referencePrice = close[1]
// Calculate the percentage change in price
changePercent = priceChangePercent(currentPrice, referencePrice)
// Define the buy and sell conditions
buyCondition = changePercent <= -0.15 and changePercent > -0.17 // rise above 0.15%, pullback 0.02%
sellCondition = changePercent >= 0.6 and changePercent < 0.65 // rise above 0.6%, pullback 0.05%
// Execute trading instructions
// When the buy condition is met, spot (contract) buys 1 unit (lot) of the current trading pair at market price
enterLong(buyCondition, price='market', amount=1)
// When the sell condition is met, spot (contract) sells 1 unit (lot) of the current trading pair at market price
exitLong(sellCondition, price='market', amount=1)
// Draw on the chart
plotText(buyCondition, title="Buy", text='Buy', color='green', refSeries=currentPrice, placement='bottom')
plotText(sellCondition, title="Sell", text='Sell', color='red', refSeries=currentPrice, placement='top')
(3) AI grid strategy displayed on the candlestick chart
For PRO members and signal alert members, exclusive high-quality tools tailored for lazy friends, custom indicators can help any AICoin user to plan their trades and trade their plans. For more custom indicator strategy displays and multiple alert reminders, feel free to experience the custom indicator membership/signal alert/PRO K-line for a limited time for free. Click the link below to experience: https://aicoin.app/zh-CN/vip/chartpro
3. Asking Little A Again
(1) Question: Help me write an indicator,
Calculate the difference rate between the current price and EMA, where the EMA parameter is: 144,
If this difference rate is greater than the handling fee of 0.001, we will enter long.
(2) The core principle is a mean reversion rule, EMA144 is suitable for bottom fishing strategies; the price and EMA144 mean reversion rule, then compare with the handling fee; if this difference is greater than the handling fee, then it indicates that large funds may consider this as an opportunity to enter. (Suitable for any period - large period, open positions are few; small period, open positions are many)
(3) Copy and use AI script directly
(4) Paste and save
(5) Apply AI script to the candlestick chart
(6) No matter how long the history is, it can be bottom-fished, as shown in the figure.
4. Asking AI Again
(1) Question: Help me write an indicator,
Calculate the difference rate between the current price and EMA, where the EMA parameter is: 120,
If this difference rate is greater than the handling fee of 0.002, we will enter long.
(2) Reason for application: EMA120 is also acceptable, because some large funds also use 120
(3) AI response, AI writes strategy code
// @version=2
// Calculate EMA120
ema120 = ema(close, 120)
// Calculate the difference rate
difference_rate = (ema120 - close) / close
// Define the handling fee rate
fee_rate = 0.002
// Define the condition for entering long
buycondition = differencerate > fee_rate
// Create corresponding alert conditions for use in the alert window
alertcondition(buy_condition, title="Long Signal", direction="buy")
// Execute trading instructions
// When the buy condition is met, spot (contract) enters long at market price
enterLong(buy_condition, price='market', amount=1)
// Draw on the chart
plotText(buy_condition, title="Buy", text='Buy', color='green', refSeries=close, placement='bottom')
(4) Effect of AI application on the candlestick chart
5. Asking AI Again
(1) Question: Help me write a strategy for entering long based on a pin bar signal
(2) AI response
// @version=2
// Define parameters
amplLimit = 0.003 // Amplitude threshold
solidLimit = 0 // Entity threshold
shadowPctLimit = 0.002 // Shadow threshold
// Calculate upper shadow
overshadow = high - max(open, close)
// Calculate candlestick entity
solid = abs(close - open)
// Calculate lower shadow
undershadow = min(close, open) - low
// Calculate amplitude
ampl = (high - low) / close[1]
// Calculate upper shadow percentage change
overshadowPct = overshadow / max(open, close)
// Calculate lower shadow percentage change
undershadowPct = undershadow / min(close, open)
// Pin bar judgment algorithm
pinbar = 0
if (ampl > amplLimit) {
if (solid >= solidLimit && overshadowPct > shadowPctLimit) {
pinbar := 1
}
}
// 1 is an upper pin bar
up = pinbar == 1
// Create corresponding alert conditions for use in the alert window
alertcondition(up, title='Upper Pin Bar', direction="buy")
// Draw on the chart
plot(close, title="Close")
plotShape(up, title="Upper Pin Bar", shape='arrowUp', color='green', refSeries=close, display='bottom', fill=true)
// Spot buy or contract long entry
enterLong(up, price='market', amount=1)
6. Asking AI Again
(1) Question: Write a strategy for buying on a MACD golden cross above the 0 axis and selling on a dead cross
(2) AI response
// @version=2
// This script is for demonstration of automated trading capabilities only and does not constitute investment advice. Please invest cautiously and pay attention to risk control.
// Define MACD indicator related parameters
N1 = 12
N2 = 26
M = 9
zero = 0
// Calculate MACD indicator values
dif = ema(close, N1) - ema(close, N2)
dea = ema(dif, M)
macd = (dif - dea) * 2
// Calculate alert condition values
golden_cross = crossup(dif, dea) and dif > zero
dead_cross = crossdown(dif, dea) and dif > zero
// Create corresponding alert conditions for use in the alert window
alertcondition(golden_cross, title='MACD Golden Cross', direction="buy")
alertcondition(dead_cross, title='MACD Dead Cross', direction="sell")
// Execute trading instructions
// Contract close long / spot sell
exitLong(dead_cross, price="market", amount=1)
// Contract open long / spot buy
enterLong(golden_cross, price="market", amount=1)
// Draw MACD on the chart
plot(dif, title='DIF')
plot(dea, title='DEA')
plotColumn(macd, title='MACD')
// Draw signals on the chart
plotText(golden_cross, title="Golden Cross", text='Golden Cross', color='green', refSeries=dif, placement='bottom')
plotText(dead_cross, title="Dead Cross", text='Dead Cross', color='red', refSeries=dif, placement='top')
7. Asking AI Again
AI assistant writes BOLL strategy as follows
BOLL strategy:
// @version=2
// Define Bollinger Bands parameters
N = 20
M = 2
// Calculate Bollinger Bands
boll = ma(close, N)
ub = boll + sd(close, N) * M
lb = boll - sd(close, N) * M
// Define trading signals
longEntry = close > boll
longExit = close > ub
addMore = close < boll
stopLoss = close < lb - 2
takeHalfProfit1 = close > boll
takeHalfProfit2 = close > ub
// Execute trading instructions
// Long entry condition: Close price is greater than the Bollinger Bands middle line
enterLong(longEntry, price='market', amount=1)
// Close long condition: Close price is greater than the Bollinger Bands upper line
exitLong(longExit, price='market', amount=1)
// Add position condition: Close price falls below the Bollinger Bands middle line
enterLong(addMore, price='market', amount=1)
// Stop loss condition: Close price is lower than 2 points below the Bollinger Bands lower line
exitLong(stopLoss, price='market', amount=1)
// Close half position at middle line: Close price is greater than the Bollinger Bands middle line
exitLong(takeHalfProfit1, price='market', amount=0.5)
// Close half position at upper line: Close price is greater than the Bollinger Bands upper line
exitLong(takeHalfProfit2, price='market', amount=0.5)
// Draw Bollinger Bands on the chart
plot(boll, title="BOLL")
plot(ub, title="UB")
plot(lb, title="LB")
IV. Join our AICoin Membership Club
The AI assistant can meet many conditions, as long as you present your ideas to AI; our AI tools and custom indicator tools will provide more support to members; if you are interested in writing indicators with AI and want to build your own trading strategy, you are welcome to open Signal Alerts/PRO K-line/Indicator Win Rate, any of the three memberships can be experienced for free for a limited time. Click the link below to open and experience: https://aicoin.app/en/vip/chartpro
Recommended Reading
For more live content, please follow AICoin's "News/Information-Live Review" section, and feel free to download AICoin PC version
免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。