🍀 Spring Date with Fortune, Prizes with Raffle! Growth Value Phase 1️⃣ 7️⃣ Spring Raffle Carnival Begins!
Seize Spring's Good Luck! 👉 https://www.gate.com/activities/pointprize?now_period=17
🌟 How to Participate?
1️⃣ Enter [Square] personal homepage, click the points icon next to your avatar to enter [Community Center]
2️⃣ Complete Square or Hot Chat tasks such as posting, commenting, liking, speaking to earn growth value
🎁 Every 300 points can raffle once, 10g gold bars, Gate Red Bull gift box, VIP experience card and more prizes waiting for you to win!
Details 👉 https://www.gate.com/ann
學習分享:考拉簡易止盈損抄底機器人
如圖這2頁代碼就能在Gate擁有自己的簡易止盈損抄底機器人,Gate自定義機器人,想換成什麼幣都可以,把BTC替換就行。
圖1:======
圖2:======
圖3:======
#交易机器人# #机器人策略# #自定义机器人#
附:======
圖1的代碼:
position_net(“BTC_USDT”,“usdt”)==0 and max_price(“BTC_USDT”,120,“spot”)<=max_price(“BTC_USDT”,1,“spot”)and price(“BTC_USDT”,0,“spot”)>100000
(本文代碼注意事項:若代碼中存在中文“ ”雙引號,皆是網頁的顯示問題,請自行替換回英文的" "雙引號, 否則輸入框會提示false錯誤。)
(若需修改幣種,圖1第三行:BTC價格大於100000,需改爲你所判斷幣種的價格,如:ETH大於4000,SOL大於200等等,新手了解更多可詳見我主頁的自定義機器人策略入門教程)
圖2的代碼:
position_net(“BTC_USDT”,“usdt”)>0 and min_price(“BTC_USDT”,1440,“spot”)>=min_price(“BTC_USDT”,1,“spot”)or position_net(“BTC_USDT”,“usdt”)>0 and max_price(“BTC_USDT”,6,“spot”)>max_price(“BTC_USDT”,5,“spot”)and position_avg_open_price(“BTC_USDT”,“usdt”)*1.02 < index_price(“BTC_USDT”,0,“usdt”)or position_net(“BTC_USDT”,“usdt”)>0 and position_avg_open_price(“BTC_USDT”,“usdt”)*0.98>index_price(“BTC_USDT”,0,“usdt”)
轉載注明出處:
暴力考拉的Gate動態 https://www.gate.com/zh/profile/BRUXEwQc