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.

mwmarket

Members
  • Content Count

    1
  • Joined

  • Last visited

Personal Information

  • First Name
    James
  • Last Name
    c
  • Country
    United States

Trading Information

  • Vendor
    No
  1. add this code to your watch list so see when a stock is above the 5 min opening range def mybarcount = RoundUp(SecondsFromTime(0930) / 300, 0); def orHigh = GetValue(high, mybarcount); def orLow = GetValue(low, mybarcount); plot signal = if close > orHigh then 1 else if close < orLow then -1 else 0; AssignBackgroundColor(if signal == 1 then Color.Uptick else if signal == -1 then Color.Downtick else Color.DARK_GRAY); signal.AssignValueColor(if signal == 1 then Color.Uptick else if signal == -1 then Color.Downtick else Color.DARK_GRAY);
×
×
  • Create New...

Important Information

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