TradingView
DasanC
13 Th02 2019 22:07

Decent Martingale Strategy [Pinescript v3] 

GoldOANDA

Mô tả

In my experimentation to add some sort of hedging to trades, I stumbled on the Martingale roulette betting strategy.
If it works in the casino, why not here?

The principle is simple:
If you lose a trade, immediately go the opposite direction and double your bet.

In this case, we're just applying a multiplier.

The strategy is a simple EMA crossover - defaulted to my favorite periods 8 and 62.

Enjoy :) I'll make a new one that's contained in a function, so you can simply implement it in your own strategy and have it monitor winning/losing trades automatically.

Cheers,
DasanC
Bình luận
Pipfiend
Would be nice to adapt the betting sequence for a 33% probability same as the dozens/columns for roulette the betting sequence goes like this 1,1,2,3,4,6,9,12 etc etc its a lot more forgiving then double and if used with 35%+ profitable strategy could be interesting
digitalcapital
I couldn't get those results, not even get close to him. Help !
chrysopoetics
Hahahaha, holy cow. When you said "hilarious" I didn't think you meant laugh-all-the-way-to-the-bank hilarious.

Excellent work as usual. There's a lot that can be learned from this script.
DasanC
@chrysopoetics, IT's so bad please don't ever use this ahah. Martingale is notorious for making people bankrupt
chrysopoetics
@DasanC, hahaha of course, I meant your handy use of strategy scripts in general. Most find it difficult to compose strategy scripts in general and I think you're an asset in that regard.
omertikici
Can you limit the number of losing transactions to 4 or make the number changeable?
zhengtszy
I would like to ask for doubling in the same direction, how can this be implemented?
Thêm nữa