r/premarketStockTraders • • Oct 25 '25

Discussion Anyone understand code?

Post image
0 Upvotes

15 comments sorted by

2

u/tschloss Oct 25 '25

Yes. So what?

1

u/vroom4444 Oct 25 '25

So? What’s it doing genius?

1

u/tschloss Oct 25 '25

Drawing a graph.

1

u/vroom4444 Oct 25 '25

Good guess, it does a lookback last 20 candles, picks the highest close, draws a breakout line, does the same thing to downside. Code works only on thinkorswim desktop version. When candle breaks the line, turns green or red. Visual tool.

1

u/Jonny_JonJon Oct 25 '25

I have no idea what im looking at lol, this is what im trying to learn

1

u/vroom4444 Oct 25 '25

Honesty is good

1

u/Jonny_JonJon Oct 27 '25

Yeah. I watched a few tutorials but I gotta practice it. I want learn how to detect market structure like HHs and LLs but I need to learn how to plot OHLC data first. Im a total newb at this

1

u/SweatyAd1314 Oct 25 '25

Are you setting a stop loss or break even point maybe 🤔

1

u/Boring_Tax_4736 Oct 25 '25

You got any good algorithms to track? Like from open source or otherwise? Highly appreciate it.

1

u/Dudamesh Oct 25 '25

most of the code here is just UI stuff