Trailing Stop?
-
- Posts: 196
- Joined: 08 Aug 2012
- Has thanked: 41 times
- Been thanked: 41 times
Re: Trailing Stop?
I use the dollar trailing signal.
I think there is another signal . Its called " stops and targets" , it has a trailing signal in it as well as breakeven and percent settings. It is in the beginning of the signal list, not alphabetized.
shane
I think there is another signal . Its called " stops and targets" , it has a trailing signal in it as well as breakeven and percent settings. It is in the beginning of the signal list, not alphabetized.
shane
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Trailing Stop?
There are two built-in signals:Dollar_Trailing and Percent_Trailing.Does anybody know where i can find a trailing stop signal strategy for Multicharts. Net?
Both of them use the corresponding reserved words for generating the appropriate Stop order depending on the position direction when current profit is less than the maximum profit by the specified amount.
Re: Trailing Stop?
The Percent Trailing has 2 settings? FloorAmt and TrailingPct, How would you set it to start trailing by one tick after you have 5 ticks in profit?
The Dollar_Trailing has 1 setting? Do you put the amount of profit before it trails or is it based on the tick value of what you are trading?
The Dollar_Trailing has 1 setting? Do you put the amount of profit before it trails or is it based on the tick value of what you are trading?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Trailing Stop?
Percent_Trailing
Closes out the entire position or the entry if the specified percentage of the maximum profit is lost after the profit has reached the specified value; generates the appropriate Stop order depending on whether the position is long or short.
For example, if the specified profit is $100 and the specified percentage is 50, and the profit has reached the maximum of $120, the position will be closed once the profit falls back to $60.
Inputs:
FloorAmt- a numerical expression, specifying the currency value of the profit that must be reached first
Percentage - a numerical expression, specifying the maximum loss of profit in percent
Example
Generate an exit order for the entire position if 50 percent of maximum position profit is lost after the profit has reached $25:Generate an exit order for the entry if 25 percent of maximum per share profit is lost after the profit has reached $5:
Dollar_Trailing
Closes out the entire position or the entry if the current profit is less than the maximum profit by the specified amount; generates the appropriate Stop order depending on whether the position is long or short.
For example, if the specified ammount is $50 and the profit has reached the maximum of $120, the position will be closed once the profit drops to $70.
Inputs:
Amount - a numerical expression, specifying the currency value of the maximum loss of profit
Example
Generate an exit order for the entire position if position profit drops by $50:Generate an exit order for the entry if per contract profit drops by $10:
Closes out the entire position or the entry if the specified percentage of the maximum profit is lost after the profit has reached the specified value; generates the appropriate Stop order depending on whether the position is long or short.
For example, if the specified profit is $100 and the specified percentage is 50, and the profit has reached the maximum of $120, the position will be closed once the profit falls back to $60.
Inputs:
FloorAmt- a numerical expression, specifying the currency value of the profit that must be reached first
Percentage - a numerical expression, specifying the maximum loss of profit in percent
Example
Generate an exit order for the entire position if 50 percent of maximum position profit is lost after the profit has reached $25:
Code: Select all
CurSpecOrdersMode = ESpecOrdersMode.PerPosition;
SetPercentTrailing(25,50);
Code: Select all
CurSpecOrdersMode = ESpecOrdersMode.PerContract;
GeneratePercentTrailing(5,25);
Closes out the entire position or the entry if the current profit is less than the maximum profit by the specified amount; generates the appropriate Stop order depending on whether the position is long or short.
For example, if the specified ammount is $50 and the profit has reached the maximum of $120, the position will be closed once the profit drops to $70.
Inputs:
Amount - a numerical expression, specifying the currency value of the maximum loss of profit
Example
Generate an exit order for the entire position if position profit drops by $50:
Code: Select all
CurSpecOrdersMode = ESpecOrdersMode.PerPosition;
GenerateDollarTrailing(50);
Code: Select all
CurSpecOrdersMode =ESpecOrdersMode.PerContract;
GenerateDollarTrailing(10);