Metal do you think you could create a video how to draw and S/R levels manually and then use your indicator with a a few stocks or SPY please
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
When you enter your trades, does the 2 minute candle have to close first ? or do you not wait, and enter the trade as the price goes above or below 20ema ?Todays Trades. No Losses! Great day!
View attachment 23731
AAPL:View attachment 23729
SPX:
View attachment 23732
AMD:
View attachment 23733
this is the simple linear regression channel does it plot automatically every day.I forgot this trade today. View attachment 20989
Nope. This is the Anchored LRC It does plot automatically every day. I use LRC-V5.this is the simple linear regression channel does it plot automatically every day.
Hi. Looks great. I'm still uncertain how to use this though. What calls/puts would you trade? How far is the expiration? Are there certain criteria that you are using to select the calls/puts? Specific Delta's? etc. I think I understand the checklist that you go through (line cross, ema, etc) but just not clear on how would choose which options to trade. Thank you.Fridays Trades- This Strat is Killing it! Great job everyone, It was an easy day!
Have a Great Weekend.
SPX- $1,535.00 Profit
View attachment 23762
RGTI: I could/should have done better. My BIAS was in the way. I anticipated RGTI to go straight to $8.00. Ended up $540..00 Profit!
View attachment 23763
Hey Joe,Hi. Looks great. I'm still uncertain how to use this though. What calls/puts would you trade? How far is the expiration? Are there certain criteria that you are using to select the calls/puts? Specific Delta's? etc. I think I understand the checklist that you go through (line cross, ema, etc) but just not clear on how would choose which options to trade. Thank you.
I have had others say this happens to them. I believe the reason that it may move is the "Expansion Area" "Bar to the right" in the time axis in chart settings, Needs to be no more than 50. I keep mine less than 30. I do not know why this can affect it or if it is what is causing. Give this a try and see if this will help. My levels may have moved slightly but it was so little that it doesn't affect my trading. The level will also slightly change based on the time frames you may use. I use 2m only with the LRC_V5. The reason for this is the LRC uses highs and lows throughout PreMarket. 15m High and lows will be different from where the 2minute highs and lows will project the lines.Hi @METAL ! Quick question about your script. I noticed while testing during market hours that the LRC lines will shift throughout the day. The LRC lines does not stay at the same levels compared to when the market opens. Is it supposed to be like this or did I load the script wrong? Thanks!
I use the V5 for all charts now. I do not have the 20 ema colored because it helps me to see it up in my grids.@METAL hello! do you have an updated Grid that you watch(with the 12 charts)--
i have your LRC_Grid-V2 but not sure if its better to use the LRC_V5 on there or LRC_MultiDay_V21. also the EMA 20 isn't colored... just curious how you have it as of 2025.. have a TOS link to your most updated Grid? Thanks so much!!
# Line At Price
# Mobius
# Alternative to using the HighestAll() function
input barsBack = 1000;
def c = if !IsNaN(close) and IsNaN(close[-1])
then close
else c[1];
plot line = if isNaN(close[-barsBack])
then c[-barsBack]
else Double.NaN;
line.SetLineWeight(2);
line.SetDefaultColor(Color.LIME);
# Line At Price
# Mobius
# Alternative to using the HighestAll() function
# changed color of line to match current candle color
input barsBack = 1000;
def c = if !IsNaN(close) and IsNaN(close[-1])
then close
else c[1];
plot line = if IsNaN(close[-barsBack]) then c[-barsBack] else Double.NaN;
line.SetLineWeight(2);
line.SetStyle(Curve.LONG_DASH); # or Curve.LONG_DASH, Curve.FIRM, etc.
line.SetPaintingStrategy(PaintingStrategy.LINE);
# Store "color state" as 1 (green), -1 (red), or 0 (flat).
def colorState = if close > open then 1
else if close < open then -1
else 0;
# Carry forward last valid color once close is NaN (future bars).
def lastColor = if !IsNaN(colorState) then colorState else lastColor[1];
# Assign the line's color using our numeric color state.
line.AssignValueColor(
if lastColor == 1 then Color.GREEN
else if lastColor == -1 then Color.RED
else Color.LIME
);
Thank you. I will give the new price line a try. I wasn't aware that it had lag.Hey @METAL this whole thread is amazing! I have been testing this out to add to my strategy, I have been looking to add important levels and these are awesome!
I downloaded your current "My actual trading chart" from the first page and everything works great. However the current price line study that you shared I found had a little lag so I searched around this forum and it seems like the HighestAll function causes that in think or swim so I found this one from Mobius which is working great and doesn't have any lag:
Code:# Line At Price # Mobius # Alternative to using the HighestAll() function input barsBack = 1000; def c = if !IsNaN(close) and IsNaN(close[-1]) then close else c[1]; plot line = if isNaN(close[-barsBack]) then c[-barsBack] else Double.NaN; line.SetLineWeight(2); line.SetDefaultColor(Color.LIME);
Figured I would share it in case you wanted to check it out!
I also added some modifications to have the line change color based on if the current candle is red or green and historical candles as well. I couldn't figure out how to have the historical part of the line be the same color as the current candle, it changes each dash to be the color of the historical candle but the line in the expansion area will be the same color as the current candle! I haven't seen any lag with this version either!
Code:# Line At Price # Mobius # Alternative to using the HighestAll() function # changed color of line to match current candle color input barsBack = 1000; def c = if !IsNaN(close) and IsNaN(close[-1]) then close else c[1]; plot line = if IsNaN(close[-barsBack]) then c[-barsBack] else Double.NaN; line.SetLineWeight(2); line.SetStyle(Curve.LONG_DASH); # or Curve.LONG_DASH, Curve.FIRM, etc. line.SetPaintingStrategy(PaintingStrategy.LINE); # Store "color state" as 1 (green), -1 (red), or 0 (flat). def colorState = if close > open then 1 else if close < open then -1 else 0; # Carry forward last valid color once close is NaN (future bars). def lastColor = if !IsNaN(colorState) then colorState else lastColor[1]; # Assign the line's color using our numeric color state. line.AssignValueColor( if lastColor == 1 then Color.GREEN else if lastColor == -1 then Color.RED else Color.LIME );
# Line At Price
# Mobius
# Alternative to using the HighestAll() function
# Modified by rad14733 for personal use
input barsBack = 300;
def c = if !IsNaN(close) and IsNaN(close[-1]) then close else c[1];
plot line = if isNaN(close[-barsBack]) then c[-barsBack] else Double.NaN;
line.DefineColor("Up", Color.LIME);
line.DefineColor("Dn", Color.MAGENTA);
line.DefineColor("Default", Color.CYAN);
line.SetLineWeight(3);
line.SetDefaultColor(line.Color("Default"));
line.AssignValueColor(if close > open then line.Color("Up") else line.Color("Dn"));
line.SetPaintingStrategy(PaintingStrategy.DASHES);
line.SetStyle(Curve.MEDIUM_DASH);
# END - Line_At_Price
Thank you. I will give the new price line a try. I wasn't aware that it had lag.
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.