forked from heathermils98/AFL_code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
15min.afl
9 lines (9 loc) · 719 Bytes
/
15min.afl
1
2
3
4
5
6
7
8
9
TimeFrameRestore();
TimeFrameSet(in15minute);
Name() == "VN30F1M" ;
Title = EncodeColor(colorYellow) +Name() + " - " + Interval(2) + EncodeColor(colorWhite) + " - " + Date() + " - " + "Thu " + (DayOfWeek()+1) + " || "
+EncodeColor(colorWhite) +"Open-"+ O + " "+"High-"+ H + " "+ "Low-"+ L +" "+
"\n" + "Close-"+C+" "+ "Volume= "+ WriteVal(V) + " || " + "VDaily% = " + ROC(V,1) + " " + "MA20 = " + V/MA(V,20) + " " +
// WriteIf( , "Long", "Short")
"\n"+ "Spread VN30 =" + (C - Foreign("VN30INDEX", "C", True)) + " " + "Candle Spread =" + (H -L) ;
Plot(C,"\nPrice",IIf(C>O,ParamColor("Wick UP Color", colorCustom9),IIf(C<=O,ParamColor("Wick Down Color", colorCustom5),colorLightGrey)),64,0,0,0,0);