Skip to content

TaSimpleStrategy PingPong Parameters

Arsen Abazian edited this page Jun 22, 2019 · 6 revisions

These parameters are used for the PingPong strategy part. To better understand what is it please refer to the TaSimpleStrategy article.

PingPong Parameters

Most of the parameters used to control the PingPong algorithm are identical to the parameters used for BreakUp: These are

  • Enable
  • AllowedDepositPc
  • EnableStopLoss
  • StopLossPc
  • MinProfitPc
  • AllowTrailing
  • TrailingStopLossPc
  • DCAStartPercent
  • DCAStartAmountFraction
  • DCAEndPercent
  • DCAEndAmountFraction
  • DCALevelCount

So please refer to the BreakUp Parameters article to understand what these parameters do.

The other parameters, related to PingPong:

  • MinimalPriceRangeInPc - specifies minimal price range in percent of current price between support and resistance.
  • HighBoundPc - specifies the hight bound of the price range (near resistance level) reaching which the strategy will close position.
  • LowBoundPc - specifies the low bound of the price range (near support level) reaching which the strategy will open a long position.
  • SupportLevelLenght - specifies minimal support level length in candle items, after which strategy can detect PingPong.

The picture with an explanation of first three parameters:) PingPong

And this is how SupportLevelLength works: SupportLevelLength