Supertrend strategy in Pine script
Budget: €8 – €30 EUR
Hello, I've been using the supertrend for some time now and I'd like to test it in a Pine script strategy with some particular entries. If anyone would like to help me I would be very grateful.
Basically:
- Entry long when the price breaks the high of the candles of the
previous (bullish) supertrend
- Entry short when the price breaks the low of the candles of the
previous (bearish) supertrend
Variables:
- Only long / only short / both
- Exit, TP, SL = stop & reverse / current supertrend
Thanks so much
Basically:
- Entry long when the price breaks the high of the candles of the
previous (bullish) supertrend
- Entry short when the price breaks the low of the candles of the
previous (bearish) supertrend
Variables:
- Only long / only short / both
- Exit, TP, SL = stop & reverse / current supertrend
Thanks so much
Related categories:
Pine Script