TradingView
melodicfish
2021年6月7日下午5點26分

Coin Flipper Pro with strategy tester 

Bitcoin / TetherUS PERPETUAL CONTRACTBinance

描述

Converted the script "Coin Flipper Pro" into a Strategy. The same random "Coin Flip" trading fun with new features. Now users can run back test on the random trades and see how adjusting the risk to reward ratio affects the over all win rate and the profit of each trade. The Back test can be enabled or disabled in the settings along with the option to choose specific dates to run the test. Enjoy!
評論
igor878744
Can you help to add a trailing stop to the script? Thanks
Comatus
Pretty flippin' awesome! It's a bit more complex than what I've made so far. I'm curious if it were possible to add a requirement for the bar, probably the high/low, to be above/below a moving average (I use the 20 ema) for it to engage in longs/shorts to see if that shifts the results somewhat at all.
melodicfish
@Comatus, You should be able to add that extra condition into the script I wrote. Try adding it on the if statement that changes the "flip" boolean to true. I just made this script for fun and to test some stuff.
更多