Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
signals [2019/01/13 00:03]
cryptocoyn [Trading View]
signals [2019/02/21 14:50] (current)
armchairguru
Line 1: Line 1:
 ====== Signals ====== ====== Signals ======
  
-  * [[signals#Trading View]] +Signals are not part of your ProfitTrailer product license and require a separate paid subscription to either an approved provider'​s ​signals ​service and/or the TradingView integration service. These subscriptions are available for purchase from the [[https://​profittrailer.com/​shop/​|ProfitTrailer Shop]].
-  * [[signals#Pro]]+
  
 +----
 +
 +
 +
 +  - [[https://​profittrailer.com/​shop/​|Get a signals voucher from the ProfitTrailer Shop]]
 +  - [[PT Assistant#​redeeming a voucher|Link the voucher to your license by messaging PT Assistant on Discord]] (!redeemsignal)
 +  - [[signals#​Configure ProfitTrailer to use the Signals]]
 +
 +**Notes:**
 +  - After redeeming your signal voucher with the PT Assistant bot, restart the ProfitTrailer bot so it can start to receive the signal provider.
 +
 +----
 +
 +
 +=== Configure ProfitTrailer to use the Signals: ===
 +
 +Once you have redeemed your signals voucher all bots on the same license are capable of receiving the signals.
 +
 +If you do not set the Buy or Sell Strategy as SIGNAL the bot wont use the signals.
 +
 +To make buys with signals set your buy strategy in Pairs/DCA config to SIGNAL as follows:
 +
 +<file style=java>​
 +DEFAULT_A_buy_strategy / DEFAULT_DCA_A_buy_strategy = SIGNAL
 +
 +</​file>​
 +
 +To make sells with signals set your sell strategy in Pairs/DCA config to SIGNAL as follows:
 +
 +<file style=java>​
 +DEFAULT_A_sell_strategy / DEFAULT_DCA_A_sell_strategy = SIGNAL
 +
 +#Optional Gain to set minimum profit for the trade
 +DEFAULT_B_sell_strategy / DEFAULT_DCA_B_sell_strategy = GAIN
 +DEFAULT_B_sell_value / DEFAULT_DCA_B_sell_value = 0.5
 +</​file>​
 +
 +**Notes:**
 +  - Many providers do not send sell signals. If your signals provider only sends buy signals you will not be able to sell using the SIGNAL strategy.
 +  - Do not set ''​buy/​sell value''​ or ''​buy/​sell value limit''​ for the SIGNAL strategy.
 +  - It is possible to run signals on a bot running in test mode i.e. ''​[[application.properties#​server.test_mode]] = true''​.
 +
 +There are two different methods for obtaining signals for ProfitTrailer. Your own signals via TradingView or Signals generated by our approved providers.
 +
 +Select your Signals source to read more.
 +  * [[signals#​Trading View]] - self created signals
 +  * [[signals#​Providers]]
  
-==== Trading View ====+===== Trading View =====
  
-I have been working on a TradingView integration. So users can send their own signals from trading view to their bots. +ProfitTrailer provides ​a TradingView integration ​that allows ​users to send their own signals from TradingView ​to their bots.
-This development is not part of 2.2.0 so the bot can be released with or without this being fully finished. +
-This development is also seperate from the Signal providers we will provide+
  
 Be advised: Currently the processing of your signal can take up to 1 minute because of email delays etc.  Be advised: Currently the processing of your signal can take up to 1 minute because of email delays etc. 
  
-  ​create you trading view account +The steps required to use this are as follows:​\\ 
-  - set your SMS email to signals@profittrailer.com +  ​Create a TradingView ​account ​there are free and paid subscription options 
-  - get a signals voucher from me (limited) +  - Set your SMS email to signals@profittrailer.com 
-  - link the voucher ​to your license using @PT Assistant  +  - Setup TradingView ​to send your '​Signals ​to SMS' to email\\ 
-  - setup your bot -. set buy_strategy ​to SIGNAL +  - Create Alerts for the Buy and/or Sell to send your signals ​via the SMS to email\\
-  - setup TradingView ​to send your signals ​to sms to email\\+
  
-Set the SMS email in your **TradingView ​Private ​Settings** as follows:​\\ +In TradingView set the SMS email in your **TradingView ​Profile ​Settings** as follows:​\\ 
-{{ :signalsemail.png?direct&​600 ​|Set the SMS email in your TradingView Private Settings}}\\+{{::​trading-view-profile-settings.png?nolink|}}{{:​signalsemail.png?​nolink}}\\
  
 Setup TradingView to send your signals to sms using email like this:\\ Setup TradingView to send your signals to sms using email like this:\\
  
-Add your signals script to the chart using the **Add to Chart** option.\\+  - Add your signals script to the chart using the **Add to Chart** option. 
 +  - Right click on your signal on the chart and select the **Add Alert** option at top of the dialogue box that appears. 
 +  - In TradingView create an alert. SELL example below 
 +   - Ensure the **Send Email-to-SMS** setting is ticked.
  
-Right click on your signal on the chart and select ​the **Add Alert** option at top of the dialogue box that appears.\\+Note: the screenshot below is from a Paid Pro subscription account it has more **Options** than the free account:\\ 
 +{{ :​signalssetup1.png?​nolink |}}
  
-In TradingView create an alert as follows for the SELL:\\ +Use the following in the message ​for the alert, modifying the token and password to your own:\\ 
-{{ :​signalsalertsetup.png?​direct&​600 |}}\\ +<​file>​ 
-\\ +token=SGNLPTTRADINGVIEW-TEST-HzALSNUNuQ
-Ensure the **Send Email-to-SMS** setting is ticked.\\ +
- +
-Use the following in the message ​of the alert, modifying the token and password to your own:\\ +
-<​file>​token=SGNLPTTRADINGVIEW-TEST-HzALSNUNuQ+
 password=HzALSNUNuQ password=HzALSNUNuQ
-type=SELL+type=NORMALSELL
 pair=ETHBTC pair=ETHBTC
 valid=60s valid=60s
Line 45: Line 88:
 Hit the **SAVE** button\\ Hit the **SAVE** button\\
  
-Now create another alert for the BUY and change the **Type** in the **Message** of the alert to BUY.\\ +You can create another alert for the BUY using the same method ​and change the **Type** in the **Message** of the alert to BUY. 
-\\+ 
 +If you use mode = DIRECT you need to include an amount also. 
 + 
 +<​file>​ 
 +token=SGNLPTTRADINGVIEW-TEST-HzALSNUNuQ 
 +password=HzALSNUNuQ 
 +type=BUY 
 +pair=ETHBTC 
 +valid=60s 
 +mode=DIRECT 
 +amount=0.567 
 +</​file>​ 
 Once you have confirmed the signals are working you can edit your alerts and turn off the **Show Popup** and **Play Sound** on the alert if you like.\\ Once you have confirmed the signals are working you can edit your alerts and turn off the **Show Popup** and **Play Sound** on the alert if you like.\\
  
-**Notes:​** +== Token ==
-  - token is your voucher code that I send you +
-  - password is last part of voucher in this case +
-  - type can be BUY or SELL +
-  - pair is the name of the pair always in this format no matter what exchange +
-  - valid is amount of time a signal is valid once we receive it in seconds +
-  - mode STRATEGY or DIRECT (direct ignores rebuy timeout and all other bot logic and just buys. You will have to provide the amount to buy below. ) +
-  - amount ​amount of the coin to buy. Optional. only required if using DIRECT as STRATEGY will make use of your initial_cost or next DCA amount+
  
 +The Token is your voucher code that is sent to your after purchasing a signals subscription.
 +
 +Don't forget to associate it with your ProfitTrailer licence (Step 2 at the top of the page)
 +
 +== Password ==
 +
 +Password is last part of the voucher
 +
 +== Type ==
 +
 +Type is how you tell the bot what kind of order to place. ​
 +
 +You can only have one of the following options per signal alert:
 +  * **BUY** is what the name implies a standard buy order
 +  * **NORMALSELL** is what the name implies a standard sale order
 +  * **PENDINGSELL** this is for when using DIRECT you want to send trades to pending
 +
 +== Pair ==
 +
 +Pair is the name of the coin pair. It is always in this format no matter what exchange format is. XXXYYY where XXX is the coin and YYY is the market.
 +
 +==Valid==
 +
 +Valid is the amount of time a signal is valid for once we receive it. It is defined in seconds.
 +
 +==Mode==
 +
 +Mode determines if ProfitTrailer gets involved in the decision making process. There are two modes:
 +**DIRECT**//​
 +DIRECT will execute a trade on the exchange ignoring PT settings. Regardless of enabled coins, min buy volume etc DIRECT will attempt the trade.
 +
 +**STRATEGY**//​
 +If STRATEGY is used the SIGNAL strategy behaves just like a regular [[Buy and Sell Strategies|Buy or Sell Strategy]] and can be used as the only strategy or alongside other strategies.
 +
 +STRATEGY will comply with your ProfitTrailer settings including trailing if set. Coins that are [[pairs.properties#​possible_buy_log_filtering|filtered]] from your Possible Buy Log will not be purchased. BUYs will make use of your ''​initial_cost''​ or next ''​DCA_buy_percentage ''​ instead of the amount value. If you use SIGNALS for selling they will comply with your GAIN sell strategy if configured so it won't sell if GAIN is not met.
 +
 +  * If a coin is in the PAIRS Log new buy signals for the same coin will not trigger a buy. It must move to DCA or be sold first.
 +  * If a coin is in the DCA log and SIGNAL is used as a DCA buy strategy then DCA buys will function as expected when new BUY signals are received.
 +  * A signal remains true until its valid period passes. Once it starts trailing even that is ignored.
 +
 +==Amount==
 +
 +The amount you set in the signal is not initial cost. Amount is the quantity of the coin to buy. 
 +
 +Amount is only required if using DIRECT mode.
 +
 +It will need to be customised for each coin. Some examples:
 +  * To buy 250 XRP set amount to 250.
 +  * To buy 0.1 BTC set amount to 0.1
 +  * To buy 500 USDT worth of BTC you would need to **DO THE MATH**. 500 / 3600 (Current Price of BTC as of this being written) =  0.139 (rounded up).
  
 ---- ----
  
  
-==== Pro ====+===== Providers ​===== 
 + 
 +If you choose to subscribe to a Signal Provider you do not need to configure anything with TradingView. You can have a signal provider and a TV integration subscription simultaneously if you wish. 
 + 
 +Signals from providers will turn your signal strategy in ProfitTrailer true for the applicable coin. ProfitTrailer will comply with your PBL filtering settings and also any other buy strategy settings you have configured. All strategies must be true in order to buy or sell and if you have trailing configured it must also occur. 
 + 
 + 
 +  * Awesome Signals are valid for 10 minutes each. 
 +  * Gnome Signals are valid for 90 seconds each.
  
  
  • signals.1547337804.txt.gz
  • Last modified: 2 months ago
  • by cryptocoyn