- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
Trailing Stop - Codes . To: metastock@xxxxxxxxxxxxx . Subject: Trailing Stop - Codes . From: "Ian Burgoyne" <iburgy@xxxxxxxxxxx> . Date: Tue, 11 Apr 2000 13:48:39 EST . Reply-To: metastock@xxxxxxxxxxxxx . Sender: owner-metastock@xxxxxxxxxxxxx Thanks for all the responses to the question I posed on a trailing stop.They were very helpful. Below is the code for the indicators I used in the chart I posted last week. I've also included the code author's name so if it is incorrect please advise. Ian Trailing Stop (code supplied by Yngvi Hardarson) "....I would rather recommending trailing off the daily high for a long position. This however demands a little bigger ATR multiple i.e. something like: |
|
Trailing Stop {For long} HHV(H - 2.5*ATR(5),10) |
Furthermore it may be beneficial to dynamically adjust the number of lookback periods in the HHV() or the LLV() function. Best regards, Yngvi Hardarson". [21993] | |
| |
Source / From: |