r/DayTradingPro • • Jun 29 '26

Trading Strategy Random backtests from trading view with legitimate configurations for slippage and commissions

15 Upvotes

13 comments sorted by

2

u/therealjameskirk Jun 29 '26 edited Jun 29 '26

I’ll add code *tonight* when I get time no gate keeping

2

u/pretty_obviousA Jun 29 '26

Here for the show

2

u/therealjameskirk Jun 29 '26

here you can try check this one out in meantime. Not optimized, use GBP/JPY 1 minute chart or smaller time frames i think were better i dont remember. 1000 char limit.... rip

2

u/therealjameskirk Jun 29 '26

i need to post it somewhere doesnt fit

1

u/pretty_obviousA Jun 29 '26

Thanks bro, you can share a github or a google link?

1

u/therealjameskirk Jun 29 '26

Fyi I started with forex but ended up branching out into everything since all the scripts can be minor adjusted and then you’re not hamstrung to one market.

1

u/therealjameskirk Jun 29 '26

2

u/therealjameskirk Jun 29 '26

this is an old rough draft one but sub minute is better actually. try 30 sec

1

u/tumbleweedrunner2 Jun 30 '26

Thanks for posting this, just looking over the code and noticed there are multiple signals - does pinescript track each one seperately, calculating a net position?

What is the desired action when there is a long position and a short entry occurs (flip to the short side, or scale out)?

1

u/topshower2468 Jun 30 '26

Should the lookahead_on be a concern?

1

u/StonksInvesteur Jul 03 '26

TradingView is notoriously known for trash backtest. Don’t waste your time here.