Pionex Signal Bot (Single/Multi Position)Getting Started with Pionex Signal Bot
You will need a Pionex account to execute the trades. Create Your Free Pionex Account Today!
You will need a TradingView account with at least an Essential subscription for Alert and Webhook URL access. Register a TradingView account now
Desktop browser to access the TradingView Pinescript Editor and Signal bot configuration page.
1. Configuring the “Signal” in Pionex
Log in to your Pionex account ( www.pionex.com )
Navigate to Futures → Futures Bot → Signal Bot
Click on the “Add signal” button and set the name and description for this signal and then click “Confirm”
Once the signal has been created, directly click on the “I have completed the configuration” and “I have created the alert”
Signal setup on Pionex has been completed.
2. Add a strategy script to the TradingView chart
Log in to your TradingView account ( www.tradingview.com )
Choose the desired trading pair under Pionex, and click the “ Launch chart “ button
Click “Indicators”, select the Signal bot script you want to use
Click the “Gear” icon to open the strategy settings, on the “Input” tab, copy the “Message” from Pionex into the “Pionex Message” textbox
On the “Properties” settings, refer to the recommended settings as follows:
Initial capital: Keep this value at 100 USDT
Base currency: Keep this value at “Default”
Order size: 1 ~ 100 USDT. Keep the value within 1 to 100 USDT. Don’t change beyond this setup.
Pyramiding: 1 ~ any value. This value is for multi-position entry settings
Other parameters can be ignored as it doesn't impact the configuration.
Strategy configuration in the TradingView chart has been completed.
3. Configuring the strategy alert on TradingView to connect with Pionex “Signal”
Log in to your TradingView account ( www.tradingview.com )
Click on the “Alarm” icon on the upper right corner, and click the “+” icon to create a new alert
In the “Settings” tab, choose the desired strategy from the list.
Note: the latest configuration will be at the bottom of the list and needs to be updated every time there are changes to the strategy “Input” configuration.
In the “Message” tab, keep the value unchanged as the default content
Note: the content will produce the “Message” as a JSON code for the trading instruction.
In the “Notification” tab, enable the “Webhook URL” and paste the “Webhook URL” from Pionex into the “Webhook URL” in TradingView
Click the “Create” button to complete the setup, and the alert will appear in the “Alert” list
Note: updating the TradingView alert settings will appear as “Save” instead.
Strategy Alert configuration in the TradingView chart has been completed.
4. Creating the Signal bot in Pionex with the linked signal from TradingView
Log in to your Pionex account ( www.pionex.com )
Navigate to Futures → Futures Bot → Signal Bot
On the “Signal Bot” page, click the “Automate signal” to configure the bot settings, and then click the “Create the bot”
Creating the Signal bot in Pionex has been completed.
5. Checking if the TradingView signal is sent properly in Pionex
Log in to your TradingView account ( www.tradingview.com )
Click on the “Alarm” icon in the upper right corner, and click the “Log” tab to check the list
Log in to your Pionex account ( www.pionex.com )
Click on “Details” and then navigate to the “Signal Log” tab
Compare the TradingView Alert log with the Pionex Signal Log to ensure the signals are received properly
Use the “Signal Message Calculator” to translate the Message content into an easier-to-understand format.
6. How to add a custom indicator into the strategy script for the Signal bot
Log in to your TradingView account ( www.tradingview.com )
Obtain the open-source indicator, such as “RSI”, into the TradingView chart, and copy the source code
Open the Pionex Signal bot strategy script, which has been optimized specifically for Pionex
Paste the custom indicator source code into the specific section for the indicator in the Pionex Signal bot strategy script
Define the conditions for “Long” and “Short” from the custom indicator into the “longCondition” and “shortCondition” variables
Click the “Add to chart” or “Update on chart” button to complete the script configuration
Integrating a custom indicator into the Pionex strategy script has been completed.
Join Pionex Signal Bot community: t.me
Pionex
Pionex Signal Bot (Single Position)Pionex Signal Bot (Single Position) Script - Created by Jon (Pionex)
Basic code functionality for Pionex users to get started with Signal Bot
DCA EMA Simple Bot [Starbots]
This is a simple idea of DCA trading on EMA crosses. Strategy is not repainting.
The difference between this and any other strategy is, that this script allows you to preset DCA buy triggers at desired levels and customize each DCA order size independently. Alerts are working, this strategy is easily used for automatic trading.
I mainly trade on Cryptohopper, Pionex, 3commas. This was created for community, alerts are working and non-repainting. Should work on any other as well.
Trading Condition:
It's buying when Fast EMA crosses up Slow EMA. Set your paramters.
It's selling if EMA's crosses back, signaling a sell. Optional.
DCA:
You can enter DCA on 20 custom levels or layers. It buys DCA when price hits the plotted blue line on the chart that's set by input % triggers. (buy 1st DCA at 2% drop, buy 2nd DCA at 5% drop,...)
Set your Inital Capital and Pyramiding in Properties tab, Initial Order Size and DCA Order Size (lot1,lot2,lot3,..), Order Type are changed in strategy inputs.
-By default you can see that we buy when EMA's cross up and signal a buy for 10% of equity, if market is dropping you will then place a first DCA order ( 20% equity) at 2% drop (lower) from initial order. If market keeps dropping you have more DCA levels where you can buy and average down your holding position. For selling you can use Take profit and Stop Loss targets that averages down multiple open positions, it will sell it once it reaches your desirable Take Profit and close a deal. You can also close your trade if EMA signals a sell.
Pyramiding - number of orders you can open at a time
Your first buy order is pyramiding 1. To allow it to buy 1 DCA or merge one time, set pyramding to 2.
Want to DCA 10 times? Set pyramiding at 11. (+1 always)
More features:
- Profit Calendar
- Show Balance label before every new trade
- DCA table - visualize how much of your investment is used in trades. If a background of the table is green you are okay, if the background color is red - you are using more money for orders than you actually have.
Buy Orders << Strategy Equity/Capital
- Show / Hide DCA lines - if your chart processing is getting slow you should hide some DCA levels to speed it up
- Backtesting Range - for testing the strategy in different time windows
- Alerts
When all trades are closed on your chart, winning rate of the strategy is 100% actually.
Win rate is shown differently as it's actually closing and opening every trade individually by default in TradingView system. We merge positions together and average it down into one big position to later sell for a profit (DCA).
You use this Trading Algorithm at your own risk. Do not trade before testing or invest something you cannot afford to lose on markets.