RSI on the screen for Amibroker (AFL)
Copy & Paste Friendly
strength = 1;
pr=PeakBars(RSI(14),strength)==0;
ps =TroughBars(RSI(14),strength)==0;
pr=PeakBars(RSI(14),strength)==0;
ps =TroughBars(RSI(14),strength)==0;
{ GfxSelectFont("Arial",24, 800 );
GfxSetBkMode(1);
GfxSetTextColor(colorWhite);
GfxTextOut("RSI="+WriteVal(RSI(14),format=1.2)+" ",470,20);
}
//see marketlogy.com for unique AFL code