Forum: Platforms and Indicators
July 11th, 2014, 03:07 PM
|
Replies: 2
Views: 2,800
|
Forum: Platforms and Indicators
July 8th, 2014, 02:19 PM
|
Replies: 2
Views: 2,800
Vary a trailing stop with a filter
Hi Folks,
Amibroker trailing stop:
StopLevel = 1 - Param("trailing stop %", 3, 0.1, 10, 0.1)/100;
Buy = Cross( MACD(), Signal() );
Sell = 0;
trailARRAY = Null;
trailstop = 0;
|