• #3368

      Thanks for script, I create code version (it’s isn’t 1:1), but I believe that everybody can easy tweak the code by yourself.

      — Author: PragueQuantTrader
      stopLossValue = Input(‘StopLoss’, 3)
      takeProfitValue = Input(‘Profit’, 5)

      close = ClosePrices()
      high = HighPrices()
      low = LowPrices()

      signalMacd = SignalWeight(EasyMACD(1), 2)
      signalRSI = SignalWeight(CC_EasyVolumeRSI(2),2)
      signalMA = SignalWeight(EasyMA(0),2)

      signal = GetWeightedConsensusSignal(3,3,1, signalMacd, signalRSI, signalMA)

      indicatorContainer = IndicatorContainer(signal)
      indicatorSignal = indicatorContainer[1]

      safeties = SafetyContainer(StopLoss(stopLossValue)) — StopLoss(stopLossValue) TakeProfit(takeProfitValue)

      — Insurances
      insurances = InsuranceContainer() — OvercomeFeeCosts() TradeOnlySideways()

      — Trade Bot
      TradeBotContainer(safeties, indicatorSignal, insurances)

Viewing 0 reply threads

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free