Thanks sr114 for the info on his modified nirvana. The major change was the kijun sen line that he's using now as replacement for the ma's. The other indicators on his chart should already be in original nirvana.
So here's the afl code for kijun sen line taken out of the normal ichimoku indicator. Just copy and paste it to the existing nirvana code and it should plot
_SECTION_BEGIN("Ichimoku Kijun-sen");
//========================================================
SL = ( HHV( H, 26 ) + LLV( L, 26) )/2;
TL = ( HHV( H, 9 ) + LLV( L, 9 ) )/2;
DL = Ref( C, 26 );
Span1 = (( SL + TL )/2);
Span2 = (HHV( H, 52) + LLV(L, 52))/2;
Plot(SL,"",colorYellow,styleStaircase); // standard, base, or kijun-sen line
//========================================================
_SECTION_END();
I've only used Amibroker for a few days, so if any errors, please help me correct. So far this works for me.