[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Metastockusers] Fwd: Setting A Flag



PureBytes Links

Trading Reference Links


>Hello,
>
>What is the most efficient way of setting a flag in Metastock? For 
>example, say I want to enter a trade on a signal but only, say, if there 
>has been an RSI overbought signal during the past four hours:
>
>flag:=If(Cross(RSI(14),70),1,0)
>
>initially sets the flag but it will get reset next bar. How can I keep the 
>flag set at 1 for the next four hours?
>
>Thanks in advance,
>Kevin



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Metastockusers/

<*> To unsubscribe from this group, send an email to:
    Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/