PureBytes Links
Trading Reference Links
|
something along this line?
LPos = Flip(Buy,Ref(Sell,-1));
SPos = Flip(Short,Ref(Cover,-1));
LPT = 3;//Optimize("LProfitTarget",6.5,0,10,0.2);
SPT= 5;//Optimize("SProfitTarget",7.5,5,15,0.2);
PT =IIf(LPos,LPT*ATR(3),IIf(SPos,SPT*ATR(3),0));
ExitAtStopLevel = True; ExitAtNextExitPrice = False;
ApplyStop(1,1,PT,ExitAtStopLevel);
herman
-----Original Message-----
From: kaveman perth [mailto:kavemanperth@xxxxxxxxx]
Sent: Thursday, October 07, 2004 7:50 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] High & Low for the first 30 & 60mts for Each Day
You can use valuewhen and cross to get your values. Here is an example
for plotting the current days value
30high = valuewhen( cross( timenum(), 102959 ), H );
plot( iff( datenum()==now(3) and timenum()>102959, 30high, null ),
"30high", colorred, styleline );
On Thu, 07 Oct 2004 11:04:37 -0000, gacsekar <gacsekar@xxxxxxxxx> wrote:
>
>
> Hi to all,
>
> I am day-trading Indian markets with 5mts chart, using Amibroker 4.6
> The trading opens @9:55 am & closes @3:30pm.
>
> I want to draw a horizontal line for the High & Low for the first 30
> & 60mts, for each day, (The ending period could be @ 10:25 to
> 1030am / 10:55 to 11:00am). I hope my requirement is clear.
> Thanks in advance.
>
> G.A.Chandrasekaran
>
>
> 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
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
------------------------ 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/
|