TradingView
SeaSide420
7 jun 2021 22:31

open>open[1]=BUY_else_SELL 

Bitcoin / TetherUSBinance

Beskrivning

â‹…
simple script. enter rule is open>open[1]=BUY_else_SELL (open[1] means open price 1 candle ago, so basically its if price now greater than price 1 candle ago...)
exit rule is Trailing Stop.
1 trade per candle, here on daily chart BTCUSDT with binance commision included in result.
254 million percent profit....
😲
Kommentarer
SeaSide420
â‹…
this is my 100th published script! 🎇
rest are here: tradingview.com/u/SeaSide420/
ICEKI
â‹…
@SeaSide420, Amazing Congrats for the 100th published contribution mate <3
blackcat1402
â‹…
@SeaSide420, congrats
BreathingAmplitude
â‹…
I love parody scripts, 254 Billion $ in 4 years. "Not too bad" for 8 lines of Pine Script
j13686954767
â‹…
it has a bug.the trailing stop always stop at the highest price of the day when long and always stop at the lowest price of the day when short,no matter you set the 1%or 10% or100%
SeaSide420
â‹…
@j13686954767, oh really? but
strategy.exit("TS",trail_points=TrailingStop,trail_offset=1,alert_message="Close- TrailStop")

? that should work
i guess will have to make trail the old fashion way.
oh wait, %? nah thats pips, so maybe 100 aint enough. what pair?
Buy-SellSignal
â‹…
@SeaSide420, trail_points not work true. should try "profit"
SeaSide420
â‹…
@Buy-SellSignal, yea that trail is fail (strategy.exit), need to program in a real trailing SL
AvD1986
â‹…
i get an error maximum number of orders 3000 has been reached. How can this be fixed?
Mer