Pls check it..
_SECTION_BEGIN("William%R");
/* by Anthony Faragasso */
MaxGraph =10;
R = ((HHV(H,8) - C) /(HHV (H,8) -LLV (L,8))) *-100;
Graph0 = R;
Graph1 =-30;
Graph2 =-70;
Graph3 =-50;
Graph4 =-10;
Graph5=MA(R , 9);
Graph5Style = 1+4;
Graph5Color =1;
Graph0Style=1+4;
Graph1Style =Graph2Style= 1;
Graph3Style =Graph4Style =2;
Graph3Color = Graph4Color =5;
Graph2Color = Graph1Color =12;
/*x = BarsSince( Cross( r, MA( r, 9)));*/
/*y = BarsSince( Cross( MA(r, 9), r));*/
/*Graph8 = ( x == 0 OR y == 0 ) * 30;*/
Title =Name() + " -Williams %R: " +" % R Line " +"("+ WriteVal ( Graph0,format=1.2)+")"+ " Signal Line " + ""+"("+WriteVal(Graph5,format=1.2)+")" +" , " + Date( );
_SECTION_END();
Thoda mein samjha...Agar aap bhi sajho toh janein...
Thoda modify kiya..koi aur bhi karey toh maanein!!!
regards