Streamdeck for cTrader

Quick Installation Guide
Prerequisits
Placeholder32x32

The StreamDeck is working and the Stream deck App running.

Download the latest Zip archive and unzip it Download from Ko-Fi

Steps to Install
Placeholder
in Windows Explorer
paste %UserProfile%\Documents\cAlgo\Sources\Robots\ in the address bar and hit enter Copy Text
Placeholder
in Windows Explorer
paste Stream Deck.calgo and SocketSender.exe in the Robots Folder
(the Socketsender app can be anywhere, it just need to be reachable by the Streamdeck app and cTrader)
in cTrader
add the StreamDeck Robot to any chart and start it.
(the Streamdeck will show "Starting" on the top-left button)
it is important that this is working to confirm that cTrader can communicate with the Streamdeck.
depending on your Stremdeck or windows version there may be some issues with this, if so please send me a email, i can send you the source code to recompile with a different .Net Library.
Setup Streamdeck
Placeholder
Create "Open" Button click the File icon
paste %UserProfile%\Documents\cAlgo\Sources\Robots\ in the open dialog and select SocketSender.exe Copy Text
Placeholder
edit button
click on App / File" and type the parameter of the command behind the name.
example:
Algo Parameters
The Parameter-format is always like this button Command Variable
you can always type 14 as Number the Variable is optional (depending on the command)

  • SlTp sets hard stop
    example: 14 SlTp 12 (this will set a hard Stoploss 12 Pips from the current price)
  • Tsl Activate Trailing Stop
    example: 14 TsL 10 (this will set and activate Trailing stop with a 10 pip distance from the current price on all positions)
  • CancelPending Deletes ALL Pending orders
    example: 14 CancelPending
  • CloseAll Closes ALL Open Positions and deletes Pending orders
  • CloseBuy Closes ALL Open BUY-Positions only
  • CloseSell Closes ALL Open SELL-Positions only
  • RemoveTP Removes Take Profits from All open positions
  • RemoveTPSL Removes Stoploss and Take Profits from All open positions
  • HedgeAll Hedges Everything by placing the sum of all orders in the opposite direction.
  • HedgePercent Hedges only part of the open position.
  • ScaleIn add fixed size to open positions
    example: 14 ScaleIn 0.1 (this will add 0.1 lots to all open positions)
  • ScalePercent add percentage of the total position
    example: 14 ScalePercent 10 (this will add 10% to all open positions)
    if 1 lot is open it will add 0.1 lot (10%)
  • ScalePercentLimit same as ScalePercent, but uses a limit order
  • Note: there are multiple undocumented functions still in development.