Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
77trader
-
Content Count
6 -
Joined
-
Last visited
Single Status Update
-
Ron,
This is the code for your 1st part where you have lines and dots and bars instead of candles. It is the translation of your posted ThinkOrSwim code to AFL.
MA100 = MA(Close, 100);
Ref0 = Ref(MA100, 0);
Ref1 = Ref(MA100, -1);
Plot(Close, "", colorBlack, styleBar);
Plot(MA100, "", IIf(Ref0 > Ref1, colorGreen, IIf(Ref0 < Ref1, colorRed, colorBlack)), styleLine | styleDots | styleThick);
Show me the ThinkOrSwim code for your 2nd and I'll try to translate it.
Steve