Futures
Access hundreds of perpetual contracts
TradFi
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Launchpad
Be early to the next big token project
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Learning Share: Koala Easy Take Profit Loss Buy the Dip Bots
With the code on these 2 pages, you can have your own simple take profit and buy the dip Bots on Gate. You can customize the Bots on Gate and change to any coin you want; just replace BTC.
Figure 1: ======
Figure 2: ======
Figure 3: ======
#交易机器人# #机器人策略# #自定义机器人#
Attached: ======
The code for Figure 1:
position_net(“BTC_USDT”,“usdt”)==0 and max_price(“BTC_USDT”,120,“spot”)\u003c=max_price(“BTC_USDT”,1,“spot”)and price(“BTC_USDT”,0,“spot”)>100000
(Code notes for this article: If there are Chinese " " double quotes in the code, it is a display issue on the webpage, please replace them back with English " " double quotes, otherwise the input box will prompt a false error. )
(If you need to change the coin, in line 3 of Figure 1: If the BTC price is greater than 100000, it needs to be changed to the price of the coin you determine, for example: ETH greater than 4000, SOL greater than 200, etc. Newbies can learn more by referring to the custom Bots strategy introductory tutorial on my homepage ).
Code of Figure 2:
position_net(“BTC_USDT”,“usdt”)\u003e0 and min_price(“BTC_USDT”,1440,“spot”)>=min_price(“BTC_USDT”,1,“spot”)or position_net(“BTC_USDT”,“usdt”)\u003e0 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”)\u003e0 and position_avg_open_price(“BTC_USDT”,“usdt”)*0.98>index_price(“BTC_USDT”,0,“usdt”)
Reprint with source noted:
The dynamic of the violent koala on Gate https://www.gate.com/zh/profile/BRUXEwQc