Hi!
I need help with variable periods in alert function.
This is what I would like to do, but it won't let me use a variable to set the number of periods in Alert().
periods:=if(DX(10)<20,8,if(DX(10)<30,5,3));
alert((L<ref( LLV(L ,3),-1)),periods)
Cheers,Darek
Hi Darek,
Would this formula work okay or is it a bit cumbersome?
If(DX(10)<20,Alert((L<Ref(LLV(L,3),-1)),8),If(DX(10)<30,Alert((L<Ref(LLV(L,3),-1)),5),Alert((L<Ref(LLV(L,3),-1)),3)));
Cheers,
ozt
thanks, it's working but that was only an example,
the thing is I would like to find function which let me use a variable to set the number of periods in Alert(). Maybe, I'm looking for .dll ?
Regards,
Darek
yes - I'd like to use variable periods in alert too. I have asked for this in the Metastock wish list.
perhaps you could express your support for this in the Wish List as a new function in the next release.
rgs
alphateam