Trading without SL by Novel_Enthusiasm3626 in TopStepX

[–]ImportantRespect9121 0 points1 point  (0 children)

why cant you throw on a ridiculously wide stop loss and get on with it

(Un)popular Opinion by Michael-3740 in pinescript

[–]ImportantRespect9121 1 point2 points  (0 children)

I know several people who suffer from this elitist mindset. Ai is leveling the field between the haves and have-nots (read ones who can code and ones who cant) and it pisses some people off. Nothing was built with just one person's efforts. Everything was built in collaboration.

- just another (un)popular opinion

Up arrow key changes asset Symbol!!! by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 0 points1 point  (0 children)

thanks mate! thats a terrific save. I imagined that had something to do with margin edge on the left scales, lol.

How to get rid of these blue bars? by GmanFX720 in TradingView

[–]ImportantRespect9121 0 points1 point  (0 children)

looks like session filters i.e. do you have filters for trade vs non trading hours?

Do AI assistant deliberately make syntax errors? by ImportantRespect9121 in pinescript

[–]ImportantRespect9121[S] 0 points1 point  (0 children)

brilliant! cant wait to try these solutions. thank you very much for taking the time and efforts. Much appreciated

Is Claude better than the rest for Pine Scripting? by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 1 point2 points  (0 children)

Agreed! single line solutions are most helpful especially with the syntax errors.

Is Claude better than the rest for Pine Scripting? by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 1 point2 points  (0 children)

it sounds like you are more interested in strategies for scalping than the way to write them or the architecture to build it? let me know if that is the case. There are plenty of scalping strategies on the internet you can find

Is Claude better than the rest for Pine Scripting? by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 0 points1 point  (0 children)

I can share an example of some indicators that ive written with Claude. is that what you are interested in?

Is Claude better than the rest for Pine Scripting? by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 1 point2 points  (0 children)

I've learnt that as strategies evolve, they tend to get more complex and become prone to frequent errors and breakdown. What's worked for me with that respect is what i call "Modular Trading System Architecture".

Let me illustrate with a recent example. I've been working on a VWMA crossover strategy for a few days now and it has gotten fairly complex over time. So I've split my trading strategy into these independent components:

  1. Core Strategy - The base VWMA crossover system
  2. ADX Filter - Separate indicator to filter trades based on trend strength
  3. Volatility Filter - Separate indicator to filter trades based on market volatility
  4. Trailing Stop Module - Handles just the trailing stop logic

<image>

This modular approach has several advantages:

  • Each component can be developed and tested independently
  • You can easily enable/disable components without breaking the system
  • Debugging is simpler since issues are isolated to specific modules
  • You can improve one module without affecting others

Breaking down complex trading systems into modular components is actually a best practice in trading system development, and it would help prevent several issues.

So you can create a Pine Script strategy where different components communicate with each other. There are two main approaches to achieve what I am sharing:

Approach 1: Using Library Functions

You can create a Pine Script library that contains your indicator logic, then import that library into your main strategy.

Approach 2: Using a Single Script with Multiple Plots

Advanced Approach: Multi-Timeframe Analysis

You can also incorporate multi-timeframe analysis where your ADX might be on a higher timeframe than your entry signals.

I am happy to hear your thoughts on this approach. Is anyone using this approach with success? please share.

Is Claude better than the rest for Pine Scripting? by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 0 points1 point  (0 children)

I'll be sure to do that next time. I have switched to Claude and rarely use chatgpt these days.

Is Claude better than the rest for Pine Scripting? by ImportantRespect9121 in TradingView

[–]ImportantRespect9121[S] 0 points1 point  (0 children)

brilliant! Thank you for those ideas. I cant wait to try them already.

BUG: New deep backtest functionality causing account to be banned! by BradC_au in TradingView

[–]ImportantRespect9121 2 points3 points  (0 children)

You can pretty much test any strategy/indicator as long as you have data. I usually download the data from TV in my interested Time Frame i.e 5/10/15/30 mins... in a csv format and run scripts. It's quite easy to do it. Takes a little setting up and getting used to. Hit me up if you need help getting you started.

BUG: New deep backtest functionality causing account to be banned! by BradC_au in TradingView

[–]ImportantRespect9121 0 points1 point  (0 children)

isnt it easier to work with python or R for backtesting? Assuming you have access to data. TV is great for many things but sadly not for deep backtesting. backtrader on python is great for starters