Global script doesn't bound to symbol

bogdan.titomir since: 22 May 2020;

  13 May 2022, 11:20
Global script doesn't bound to symbol

Hello buddies!
i have one question, can i write any script which would to run with start up of terminal and which has access to API(cAlgo)?

I mean that bots and indicators related to trade symbol.

amusleh's avatar

amusleh since: 01 Mar 2021;

  13 May 2022, 11:38

Hi,

I didn't understand exactly what you are looking for, but you can develop a cBot/indicator that will run upon cTrader desktop launch.

There is an option on cTrader automate that will auto restart your cBot when cTrader launched.

Community Developer | Spotware | Telegram: @algodeveloper

bogdan.titomir since: 22 May 2020;

  13 May 2022, 11:59
RE:

amusleh said:

Hi,

I didn't understand exactly what you are looking for, but you can develop a cBot/indicator that will run upon cTrader desktop launch.

There is an option on cTrader automate that will auto restart your cBot when cTrader launched.

i want to run up server which could to gets commands of trading from external program by json or xml protocols and call ExecuteMarketOrder

bogdan.titomir since: 22 May 2020;

  13 May 2022, 12:09

seems i know how to doing it, in method onStart just  run server if port hasn't listen

amusleh's avatar

amusleh since: 01 Mar 2021;

  16 May 2022, 09:12
RE:

bogdan.titomir said:

seems i know how to doing it, in method onStart just  run server if port hasn't listen

You can use TCP or Named pipe in case of communication in between internal processes.

Community Developer | Spotware | Telegram: @algodeveloper