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

Re: [amibroker] CAMARILLA



PureBytes Links

Trading Reference Links

Try this

P1=Param("P1",1,0.00,2,0.01);

TimeFrameSet( inDaily );

R5 = (H/L)*C;

R4 = (((H/L)+P1)/(1+P1))*C;

R3 = (((H/L)+(1+2*P1))/(2+2*P1))*C;

R2 = (((H/L)+(1+4*P1))/(2+4*P1))*C;

R1 = (((H/L)+(1+8*P1))/(2+8*P1))*C;

S5 = C - (R5-C);

S4 = C - (R4-C);

S3 = C - (R3-C);

S2 = C - (R2-C);

S1 = C - (R1-C);

TimeFrameRestore(); // restore time frame to original

Plot(TimeFrameExpand(R1, inDaily),"R1",1,1);

Plot(TimeFrameExpand(R2, inDaily),"R2",2,1);

Plot(TimeFrameExpand(R3, inDaily),"R3",3,1);

Plot(TimeFrameExpand(R4, inDaily),"R4",4,1);

Plot(TimeFrameExpand(R5, inDaily),"R5",5,1);

Plot(TimeFrameExpand(S1, inDaily),"S1",1,1);

Plot(TimeFrameExpand(S2, inDaily),"S2",2,1);

Plot(TimeFrameExpand(S3, inDaily),"S3",3,1);

Plot(TimeFrameExpand(S4, inDaily),"S4",4,1);

Plot(TimeFrameExpand(S5, inDaily),"S5",5,1);

Plot(C,"C",1,64);

 
 
Erkan

traderix2003 <d.adam@xxxxxxx> wrote:


Has anybody developped an AFL code to plot the camarilla pivot lines ?
Thxs.
Traderix





------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/





Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

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