Trading panel sample

Created at 20 Dec 2020, 16:03
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
VO

volkov.alexandro

Joined 01.02.2019

Trading panel sample
20 Dec 2020, 16:03


A sample given can just open and close positions with some input parameters.

I'd like to improve the sample to not just doing action but to pass some params into my trading algorithm to modify them "on the fly".

For example, to modify algo params that are monitored by timer (like price or unrealized PL reached) and then do action like opening or closing positions

Please, can you give a hint how could I implement that idea? I cant realize how to pass params from TradingPanel class to Robot or, in other words, how my algo can get params set in TradingPanel

Thanks


@volkov.alexandro
Replies

PanagiotisCharalampous
21 Dec 2020, 08:40

Hi volkov.alexandro,

If you need somebody to develop a custom trading panel for you, you can consider contacting a Consultant or posting a Job.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

volkov.alexandro
21 Dec 2020, 11:25

RE:

PanagiotisCharalampous said:

Hi volkov.alexandro,

If you need somebody to develop a custom trading panel for you, you can consider contacting a Consultant or posting a Job.

Best Regards,

Panagiotis 

Join us on Telegram

No, I didnt mean that.

I've already done it by myself (using Static class)

I think it would be great to include such possibility right into the sample.


@volkov.alexandro

... Deleted by UFO ...

... Deleted by UFO ...

... Deleted by UFO ...