Dear all,
i am new using amibroker..and i need your help.
i find coding to count pivot,Resistant and support like this :
Hi1=SelectedValue( TimeFrameGetPrice( "H", inDaily, -1 ));
Li1=SelectedValue(TimeFrameGetPrice( "L", inDaily, -1 ));
Ci1=SelectedValue(TimeFrameGetPrice( "C", inDaily, -1 ));
/*PIVOT Calculation*/
p = ( Hi1+ Li1 + Ci1 )/3;
s1 = (2*p)-Hi1;
r1 = (2*p)-Li1;
s2 = p -(Hi1 - Li1);
s3 = S1 - (Hi1-Li1);
r2 = p +(Hi1 - Li1);
r3 = R1 +(Hi1-Li1);
i want to add buying condition, where close > previous Resistant,not today resistant, and Close > today support. Please help me.. Thanks
i am new using amibroker..and i need your help.
i find coding to count pivot,Resistant and support like this :
Hi1=SelectedValue( TimeFrameGetPrice( "H", inDaily, -1 ));
Li1=SelectedValue(TimeFrameGetPrice( "L", inDaily, -1 ));
Ci1=SelectedValue(TimeFrameGetPrice( "C", inDaily, -1 ));
/*PIVOT Calculation*/
p = ( Hi1+ Li1 + Ci1 )/3;
s1 = (2*p)-Hi1;
r1 = (2*p)-Li1;
s2 = p -(Hi1 - Li1);
s3 = S1 - (Hi1-Li1);
r2 = p +(Hi1 - Li1);
r3 = R1 +(Hi1-Li1);
i want to add buying condition, where close > previous Resistant,not today resistant, and Close > today support. Please help me.. Thanks