OPEN-SOURCE SCRIPT
已更新

Price Deviation Strategy

3 131
This strategy getting in long position only after the price drop
The % of the drop is Determined by SMA for the first trade
The inputs of SMA and % of the drop can be adjust from the User
After that bot start taking safe trades if not take profit from the first trade
The safe trades are Determined by step down deviation % and by quantity
There is no Stop loss is not for one with small tolerance to getting under
Take profit is average price + take profit - note if you use % trailing profit back test is not realistic but is working on real time
Max Safe Trades = 15
Capital max = $30000
Doge-USDT is just a example What the Strategy Can do
Green line - take profit
Black line - Brake even with fee - adjust for exchange








版本注释
price drop for bull market is added
if sma is rising 3 bars - ta.rising(avg.price,3) the strategy switch to the bull treshold
if you don't need it make them the same
plot for sma- avg_price is added
版本注释
add number of bars to rising for bull market
版本注释
add info table

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。