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

[amibroker] Re: A simlpe question



PureBytes Links

Trading Reference Links

Anthony,
See
http://groups.yahoo.com/group/amibroker/message/39535
I think it is clear now. 
DT
--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx> 
wrote:
> Dimitri,
> 
> This may be what you are trying to do, It is a first 
attempt....having the
> bar on today will also return the
> value for yesterday....:
> 
> Load into Guru Commentary.
> 
> " StochD value Current bar = "+WriteVal(StochD(),1);
> "";
> " StochD value yesterday was = "+WriteVal(Ref(StochD(),-1),1);
> "";
> s=WriteIf(StochD()<30,WriteVal(DateTime(),formatDateTime)+" o/s"
> WriteIf(StochD()>=30 AND StochD()<70,WriteVal(DateTime
(),formatDateTime)+"
> congestive",WriteVal(DateTime(),formatDateTime)+" o/b"));
> WriteIf(Ref(DateTime(),-1) AND Ref(StochD(),-1)<30,WriteVal(Ref
(DateTime()
> -1),formatDateTime)+
> " o/s","");
> WriteIf(Ref(DateTime(),-1) AND Ref(StochD(),-1)>=30 AND Ref(StochD
(),-1)<70
> WriteVal(Ref(DateTime(),-1),formatDateTime)+" congestive","");
> WriteIf(Ref(DateTime(),-1) AND Ref(StochD(),-1) >70 ,WriteVal(Ref
(DateTime()
> -1),formatDateTime)+" o/b","");
> 
> Anthony


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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