Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 18:29:34 +0000



Post From: Advanced Custom Study/System Interface and Language (ACSIL) Auto trade entry

[2019-06-25 17:36:13]
User384999 - Posts: 28
I am wanting to use sc.BuyEntry(NewOrder)

i am using SCT_ORDERTYPE_STOP_LIMIT order type but i dont think i got the right type for what i want to do

ie

Buy at 100 automatically close when reachs 150 ie limit
or stops out at 90

i am filling price1 as my stop
and filling price2 as my target

i cant seem to find any examples in the online doc

please could you let me know which type to set in this scenario

kind regards

chris