- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
Something's buggy here. · To: metastock@xxxxxxxxxxxxx · Subject: Something's buggy here. · From: divenfish@xxxxxxxxxxxxx · Date: Sun, 28 Mar 1999 06:15:54 -0500 · Reply-To: metastock@xxxxxxxxxxxxx · Sender: owner-metastock@xxxxxxxxxxxxx All, Yep, something's buggy here. I need somebody to help me verify whether it's Metastock, this machine or me. Plot the following indicator. Plotted as is, it will return the close from 3 days ago. Select 2 as the input, and the indicator will plot, but will return a N/A in the data window. Next cut/paste the second line so that it is now the third line and again select 3 as the input. Now the indicator returns the close from 2 days ago, but gives a N/A when you select 3 as the input. Thanks,Ken |
|
Close From 3 Days Ago n:=Input("periods",2,3,3); ValueWhen(1,n=2,Ref(C,-2)); ValueWhen(1,n=3,Ref(C,-3)); |
Source / From: |