- Katılım
- 23 Eki 2020
- Mesajlar
- 1,828
use IF statement, return nul value To: metastock@xxxxxxxxxxxxx Subject: Re: use IF statement, return nul value From: hcong <hcong@xxxxxxxxxxxxxx> Date: Sun, 28 Jan 2001 16:25:42 +0800 References:LNBBKIIKPJFAFHFNIBKOGEBJDJAA.neo1@xxxxxxxxx 3A737287.94B8159A@xxxxxxxxxxxxxxx <3A7385DE.58343F65@xxxxxxxxxxxxxx> <001901c088f1$7266a7c0$98525c18@xxxxxxxxxxxxxxx> Reply-To: metastock@xxxxxxxxxxxxx Sender: owner-metastock@xxxxxxxxxxxxx John: My mistake. This trick is only good to prevent indicator being plotted BEFORE a certain user define nos of days -D- from the beginning of the chart, but not after. |
|
Late Start 3 EMA days:=Input("StartDays",1,5000,50); launch:=Cum(1)>days; Id:=Mov(C,3,E); If(Cum(1)>launch,id,RSI(days+1)) |
I realise this may not solve your problem, but maybe you can explorefrom this direction > > One way is to force Metastock to plot an *unplottable* dummy indicator: > > Eg:If( condition , value to plot when true , RSI(cum(1)+1) ) -- Regards. Ong Hock Choon hcong@xxxxxxxxxxxxxx | |
| |
Source / From: |