- 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 |
|
Volatility Stop II { LONG (Chande & Kroll) (code supplied by HHP)} Pds1:= Input("ATR Lookback?",2,100,10); Mult:= Input("ATR Multiplier?",1,20,3); Pds2:= Input("HHV Lookback?",2,100,20); PrelimStop:= HHV(H,Pds1) - ATR(Pds1)*Mult; ActualStop:= HHV(PrelimStop,Pds2); ActualStop |
[21993] | |
| |
Source / From: |