In WL6 I was able to add an easy block which was a trailing stop loss limit. There is an ATR with trailing stop but just not a trailing stop limit option. Is there a plan to add this feature?
Rename
Please vote for this existing request which includes a trailing stop block:
https://www.wealth-lab.com/Discussion/More-Building-Blocks-exits-conditions-date-intraday-etc-5954
https://www.wealth-lab.com/Discussion/More-Building-Blocks-exits-conditions-date-intraday-etc-5954
Does anybody have simple code to use with Wealth-Lab 7 for a trailing stop?
Maybe it should do something like this for a two percent ?
If you have a position then begin
If the high this bar > highest high for the BarsSinceEntry then
The highest high for this position is the high of this bar
Stop Price = this bar close - Highest high * .02;
Sell next bar at StopPrice stop;
Maybe it should do something like this for a two percent ?
If you have a position then begin
If the high this bar > highest high for the BarsSinceEntry then
The highest high for this position is the high of this bar
Stop Price = this bar close - Highest high * .02;
Sell next bar at StopPrice stop;
Sure, you have an example at your fingertips in the QuickRef: CloseAtTrailingStop
Hi apols if there's previous discussion on it but I cannot really find much info about this. Does WL has trailing stop loss capability? While there was a discussion topic mentioning about trailing stop loss, I am still confused coz in the discussion it points to this code CloseAtTrailingStop but I CANNOT seem to find the description of the command in the links:
https://www.wealth-lab.com/Support/ApiReference
https://www.wealth-lab.com/Support/ExtensionApi
So I am not sure if this CloseAtTrailingStop is a valid command, and hence not sure if WL can do trailing stop capability.
Anyone can clarify this? Tks in advance.
https://www.wealth-lab.com/Support/ApiReference
https://www.wealth-lab.com/Support/ExtensionApi
So I am not sure if this CloseAtTrailingStop is a valid command, and hence not sure if WL can do trailing stop capability.
Anyone can clarify this? Tks in advance.
You should find it under "Wealth-Lab Framework" > UserStrategyBase:
https://www.wealth-lab.com/Support/ApiReference/UserStrategyBase
Those links are API manuals for extension development, they don't have to do with your task.
Trailing stop can even be found in Building Blocks. Both Sell/Cover at "Profit Target" / "ATR Limit or Stop" have a Trailing option.
https://www.wealth-lab.com/Support/ApiReference/UserStrategyBase
Those links are API manuals for extension development, they don't have to do with your task.
Trailing stop can even be found in Building Blocks. Both Sell/Cover at "Profit Target" / "ATR Limit or Stop" have a Trailing option.
Your Response
Post
Edit Post
Login is required