Jump to content

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

Members
  • Content Count

    6
  • Joined

  • Last visited

Personal Information

  • First Name
    ron
  • Last Name
    goodman
  • Country
    United States

Trading Information

  • Vendor
    No

Single Status Update

See all updates by 77trader

  1. 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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.