Start a strategy with predefined Stop loss and Profit target
Author: gchudublin
Creation Date: 1/31/2019 9:53 PM
profile picture

gchudublin

#1
I want to use the same strategy to run different symbols and different stop loss and profit target. What is the best way to implement?

Also I want each run has its own work space, so I can see them from different windows, any way can use program to do this, my symbol trigger with stop loss and profit target and strategy to is stored in a local SQL database. May be use AutoIt script? Can I have a desktop app to call AutoIt scripts to open a new workspace and have symbol, strategy predefined? I checked the workspace file .ws and it is just a text file, so I can just use a program to create it and call AutoIt to open it and it just runs.

Please let me know if the above makes sense.
profile picture

Eugene

#2
QUOTE:
I want to use the same strategy to run different symbols and different stop loss and profit target. What is the best way to implement?

Preferred Values (PV). These can be set manually or from Optimization results. You should find more details in the WL User Guide.

P.S.
QUOTE:
Also I want each run has its own work space,

To keep the forum searchable and well maintained please avoid packing unrelated questions in one discussion thread. There's still no charge to start a new forum topic! :)
profile picture

gchudublin

#3
Do I have a way to define the PV thorough code?
profile picture

Eugene

#4
No.
profile picture

gchudublin

#5
May be I can just store these numbers on a file or SQL Server database. I can read write SQL dB from inside the Wealth Lab script right?
profile picture

Eugene

#6
You asked about a way to make one Strategy run with different Strategy parameters on different symbols. I have answered. What does your SQL DB followup have in common with Preferred Values?
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).