Hello,
 

Daily_50Dayema=WriteVal(TimeFrameExpand( Daily_50EMA,inDaily), 1.4 );

buffer = IIf( StrFind(Name(), "JPY"), 0.3, 0.003);

In the above code, I would like to modify such that

Daily_50Dayema=WriteVal(TimeFrameExpand( Daily_50EMA,inDaily), 1.4 ); if symbolname string DOES NOT contain  "JPY"

When symbolname contains JPY then I would like Daily_50Dayema=WriteVal(TimeFrameExpand( Daily_50EMA,inDaily), 3.2 );

How can combine this into a single statement to compute Daily_50Dayema?. Thanks.

I am running AB 4.6

Cheers,Padhu

__._,_.___


SPONSORED LINKS
Small business finance Business finance online Business finance training
Business finance course Business finance schools

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to