tp\sl execution problem

Questions about MultiCharts .NET and user contributed studies.
Bugs
Posts: 6
Joined: 20 Jul 2013

tp\sl execution problem

Postby Bugs » 28 Jul 2013

Hi

I am new to MC and making a simple strategy that allows trade in certain time range . With each order I place stoploss and take profit orders. It works fine when ticks =1 , but then that sl\tp order doesnt works . Am i calculating sl\tp risk amount wrong??I have attached the code txt file.

I am also facing following errors when this same strategy is run on different symbol.

Advise Transaction 24 Tick AX U3-DT 28.07.13 22:00:00 - 28.07.13 22:00:58
[ERROR] Winros.ini is not found. Make sure eSignal is installed properly.
History Tick/Minute Server could not connect: Invalid Host Name or IP Address
Transaction 24 Status: Offline (28.07.13 22:00:58)

Please guide me for these problems.Thanks
Attachments
strategy.txt
(8.28 KiB) Downloaded 522 times

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: tp\sl execution problem

Postby Henry MultiСharts » 29 Jul 2013

Hello,

The orders are valid while they are sent by the strategy.
Your special orders (stoploss/take profit) are under condition, i.e. the orders are generated (while they are generated they are valid at broker) only when the condition is met.
You need to make the special orders outside a condition to have the orders valid while there is an open position. More information can be found here:
viewtopic.php?f=19&t=24457&p=77123#p77123
I am also facing following errors when this same strategy is run on different symbol.
Advise Transaction 24 Tick AX U3-DT 28.07.13 22:00:00 - 28.07.13 22:00:58
[ERROR] Winros.ini is not found. Make sure eSignal is installed properly.
History Tick/Minute Server could not connect: Invalid Host Name or IP Address
Transaction 24 Status: Offline (28.07.13 22:00:58)
Please see the reply in your separate thread:
viewtopic.php?f=19&t=40653&p=92673#p92673

jawedmaha
Posts: 1
Joined: 30 Sep 2013
Contact:

Re: tp\sl execution problem

Postby jawedmaha » 30 Sep 2013

yup i also have this problem from quit some time

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: tp\sl execution problem

Postby Henry MultiСharts » 30 Sep 2013

yup i also have this problem from quit some time
jawedmaha, are you referring to [ERROR] Winros.ini is not found?


Return to “MultiCharts .NET”