PureBytes Links
Trading Reference Links
|
>----- Original Message -----
>From: m.smith
>To: amibroker@xxxxxxxxxxxxxxx
>Sent: Saturday, May 14, 2005 2:59 AM
>Subject: [trading] Re: [amibroker] Re: Opening Range Lines
> Alex, Hi, This is the code I have used. I do not have the "deTime"
> plugin loaded, but will do so now. Still did not work. I downloaded
> plugin"deDate/Time" and loaded it into the Amibroker program >file. I am
> sending an attachment of the actual error message so you can see it for
> yourself in context. Thanks , Marshall
//Opening Range Lines
StartTime=ParamTime("start", "08:00", 0);
EndTime=ParamTime("end", "08:15", 0);
HighVal=deTimeRangeHHV(H, StartTime, EndTime);
Lowval=deTimeRangeLLV(L, StartTime, EndTime);
Plot(IIf(TimeNum()<StartTime,Null,Highval),
WriteVal((EndTime-StartTime)/100, 1)+"min
High", paramcolor("HighColor", colorRed), styleLine);
Plot(IIf(TimeNum()<StartTime,Null,Lowval),WriteVal((EndTime-StartTime)/100,1)+"min
Low",paramcolor("Lowcolor", colorblue),styleline);
=========================================
I copied 'n pasted this code and it worked OK. My version of the "Date Time
Functions" plugin is 0.0.95. AB ver is 4.70.5
You are highlighting the plugin in the "Plugin" window then selecting
"Load"?
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|