Hi guys,
I am using KPL swing AFL.
This is the current AFL which calculates Buy Sell.
res20 = HHV( H, no );
sup20 = LLV( L, no );
avd20 = IIf( C > Ref( res20, -1 ), 1, IIf( C < Ref( sup20, -1 ), -1, 0 ) );
avn20 = ValueWhen( avd20 != 0, avd20, 1 );
SupRes20 = IIf( avn20 == 1, sup20, res20 )...