Can someone help me out?
During AFL coding, i wanted results to show in cells of the column that meet the criteria while the other cells in the column remain blank/null.
My afl coding solution was as follows:
QUOTE:
Filter = 1;
AddColumn(MA(EstSec_3,260),"Volatility",1.6,IIf(MA (EstSec_3,260)>0,colorGreen,colorRed));
AddColumn(EstSec_5,"Relative Price Strength",1.6,IIf(EstSec_5>1,colorGreen,colorRed)) ;
AddColumn(EstSec_7,"Cash Momentum Rate",1.6,IIf(EstSec_7>0,colorGreen,colorRed));
SetSortColumns(-3);
AddRankColumn();
SetSortColumns(-5);
AddRankColumn();
SetSortColumns(-4);
AddRankColumn();
AddTextColumn(IIf(((MA(EstSec_3,260)>0)AND(EstSec_ 5>1)AND(EstSec_7>0)),printf(FullName()),null),"Sto ck Purchase",colorBlue);
UNQUOTE:
Unfortunately, my use of the function "addtextcolumn" is not proper as the error sign gave 'wrong arguements'. Can someone help on the proper use of "addtextcolumn" function ???
I remain.
Mike-Ekwueme (respartner)
N.B: i am an AFL coding beginner....
During AFL coding, i wanted results to show in cells of the column that meet the criteria while the other cells in the column remain blank/null.
My afl coding solution was as follows:
QUOTE:
Filter = 1;
AddColumn(MA(EstSec_3,260),"Volatility",1.6,IIf(MA (EstSec_3,260)>0,colorGreen,colorRed));
AddColumn(EstSec_5,"Relative Price Strength",1.6,IIf(EstSec_5>1,colorGreen,colorRed)) ;
AddColumn(EstSec_7,"Cash Momentum Rate",1.6,IIf(EstSec_7>0,colorGreen,colorRed));
SetSortColumns(-3);
AddRankColumn();
SetSortColumns(-5);
AddRankColumn();
SetSortColumns(-4);
AddRankColumn();
AddTextColumn(IIf(((MA(EstSec_3,260)>0)AND(EstSec_ 5>1)AND(EstSec_7>0)),printf(FullName()),null),"Sto ck Purchase",colorBlue);
UNQUOTE:
Unfortunately, my use of the function "addtextcolumn" is not proper as the error sign gave 'wrong arguements'. Can someone help on the proper use of "addtextcolumn" function ???
I remain.
Mike-Ekwueme (respartner)
N.B: i am an AFL coding beginner....
Can someone help on the proper use of 'addtextcolumn' function ???
Aucun commentaire:
Enregistrer un commentaire