Pine Script Expert Needed for Strategy Review

Job ID: 38648900

Budget: €30 – €250 EUR

I need a skilled Pine Script coder to review and improve my trading strategy.

The strategy's main goal is to detect Failed Breakdowns of certain predefined levels to issue long positions when any such level is lost and then reclaimed. Simultaneous take profit and stop loss orders are triggered too. The script is mostly written, with 800 lines of code (including very extensive comments). It already compiles just fine by the way.

Looking at the code, it should be fairly obvious what I am trying to accomplish. So I'd say your job is 90% tweaking the logic and 10% adding new stuff. If you know what you are doing, it should be fairly quick.

The strategy is designed to run on MES! on 1-min bars.

I need help with:
- Proper detection of 'dip' bars, where a level is lost.
- Proper detection of 'FBD' bars where a level is reclaimed after being lost.
- There's a ton of intermediate calculations I'm doing that might be avoided.
- Entry signals seem to work, but one of the stops triggers upon going long.
- I am also not sure how to program a trailing stop loss of the runner.
- I need to create alerts for SignalStack, in the format {"symbol":"MES","action":"buy","quantity":123, "limit_price": 123.98, "stop_price": 123.98, "class": "future"}, these need to trigger automatically from strategy.entry() and strategy.exit().

The goal is to have a script that works in terms of detecting the FBD setup and triggering alerts for automatic trading. Making the strategy profitable is out of the scope.

If I am satisfied with the work, I'd be happy to extend cooperation later on to other setups.

Ideal candidates should be well-versed in Pine Script. Experience in coding for entry/exit signals and managing orders with alerts is crucial.
Related categories: Pine Script Trading