LewisMusyoki/Trade-Strategies ? reverse-engineered prompt
Reverse engineered prompt
Build me a TradingView Pine Script indicator that uses a moving average crossover to spot buy and sell signals, and adds a simple 100 point target for each signal.
I want it to be easy to use on the chart, with clear visual markers for entries, exits, and the target level. If it makes sense, also show stop or invalidation level, and let me turn the main settings on and off from the inputs.
Please make the script clean and ready to paste into TradingView, and keep it flexible enough that I can change the moving average lengths and the target size later. If there are any current Pine Script best practices I should follow, use them, and look up the latest docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit