Volume and Moving average,will this model working in real-trade?

Ayden_C Updated   
i`ve recently made this script through few month,understand me if there are some incorrect grammar or something.
basically this script is based on moving average strategy and the bollinger bands
if the buy volume is bigger than sell volume,also buy volume is bigger then daily average volume than it`s defined current market is bullish and entered(of course there is some other conditions)
the exit condition is find the highest price after entered,keep refresh the highest price through time and then,if the current price is ?%lower then highest price,it will closed the position.
my question is this : 1 this model will working in real-trade?
2 why the winning rate is 100%?
- i`ve coded if the position margin over -10%,close the position this code isn`t work? or the other profit line is prevent that happened?
Release Notes:
added short condition,it will prevent too much gaping current price and entry price.
and if the current price is 10% lower then entry price,it will activate stoploss
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?