arflouro828
 ( 4.53% )
- ago
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?
0
1,276
Solved
7 Replies

Reply

Bookmark

Sort
- ago
#1
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
0
- ago
#2
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;

0
- ago
#3
Sure, you have an example at your fingertips in the QuickRef: CloseAtTrailingStop
0
- ago
#6
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.
0
- ago
#7
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.
0
Best Answer

Reply

Bookmark

Sort