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

[amibroker] OLE AUTOMATION Using PERL



PureBytes Links

Trading Reference Links

Gordon,

Here is the updated formula to show formatted Date...


CondBull=SAR()<C;//bull
condbear=SAR()>C;//bear
switch=Flip(Condbull,Condbear);
price=ValueWhen(Flip(Condbull,Condbear),C);
DateNumb=ValueWhen(switch,DateTime());      
Filter=1;
Buy=0;
text=WriteIf(Condbull,"Bull",WriteIf(Condbear,"Bear",""));
AddColumn(DateNumB,"DateOFflip",formatDateTime);
AddColumn(Condbear,"Bear");
AddColumn(switch,"switch");
AddColumn(price,"close");
AddTextColumn(text,"SAR()");

Anthony



------------------------ 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/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

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

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