Can I get a afl(amibroker) line for the above,please

#1
(courtesy HPT,By Marcel Link)
===============================================
ADX(14) ABOVE 30=NOW STRONG TRENDING PHASE-Go on buddy
ADX(14) BELOW 20= NOW WEAK TRENDING PHASE -Hey Man Go slow-reduce ps
ADX(14) BELOW 16= NOW NO TREND AT ALL PHASE - Hey WRONG TIME to trade
================================================== =========
Can I get a code line for the above,please
 
#3
Hello
check this

//===============================================
/*ADX(14) ABOVE 30=Now STRONG TRENDING PHASE-Go on buddy
ADX(14) BELOW 20= Now WEAK TRENDING PHASE -Hey Man Go slow-reduce ps
ADX(14) BELOW 16= Now NO TREND AT ALL PHASE - Hey WRONG TIME to trade*/

ad=ADX(14);
Plot(ad,"",4,1);

strWeekday = StrMid("SunMonTueWedThuFriSat", SelectedValue(DayOfWeek())*3,3);
Title = EncodeColor(colorWhite)+ "Adx indi -" + Name() + " " + EncodeColor(colorAqua)+ Interval(2) + EncodeColor(colorWhite) +
" #"+strWeekday +" , "+ Date()+ "\n" +EncodeColor(colorYellow) +"Op-"+O+" "+"Hi-"+H+" "+"Lo-"+L+" "+
"Cl-"+C+" "+ "Vol= "+ WriteVal(V)+"\n" +

WriteIf(ad>30, "STRONG TRENDING PHASE-Go on budy","")+"\n"+
WriteIf(ad<20 AND ad>16, "WEAK TRENDING PHASE -Hey Man Go slow-reduce ps","")+"\n"+
WriteIf(ad<16, "NO TREND AT ALL PHASE - Hey WRONG TIME to trade ","");

Hope this is what you required ....
 
#4
Hello
check this

//===============================================
/*ADX(14) ABOVE 30=Now STRONG TRENDING PHASE-Go on buddy
ADX(14) BELOW 20= Now WEAK TRENDING PHASE -Hey Man Go slow-reduce ps
ADX(14) BELOW 16= Now NO TREND AT ALL PHASE - Hey WRONG TIME to trade*/

ad=ADX(14);
Plot(ad,"",4,1);

strWeekday = StrMid("SunMonTueWedThuFriSat", SelectedValue(DayOfWeek())*3,3);
Title = EncodeColor(colorWhite)+ "Adx indi -" + Name() + " " + EncodeColor(colorAqua)+ Interval(2) + EncodeColor(colorWhite) +
" #"+strWeekday +" , "+ Date()+ "\n" +EncodeColor(colorYellow) +"Op-"+O+" "+"Hi-"+H+" "+"Lo-"+L+" "+
"Cl-"+C+" "+ "Vol= "+ WriteVal(V)+"\n" +

WriteIf(ad>30, "STRONG TRENDING PHASE-Go on budy","")+"\n"+
WriteIf(ad<20 AND ad>16, "WEAK TRENDING PHASE -Hey Man Go slow-reduce ps","")+"\n"+
WriteIf(ad<16, "NO TREND AT ALL PHASE - Hey WRONG TIME to trade ","");

Hope this is what you required ....

thank u so much.....i thing more ...

above condition are only for rising adx

plz add "trend weakning" for declining adx......
 

Similar threads