Price Down Block

Price Drop Block - This block is a "conditional block" that is triggered when the price drops by the percentage you set.

Block configuration

In the parameters of the block, you can select the conditions that will drive its triggering.

The different options of the Price Down Block

"When the price drops by" is the main condition of this block. It allows you to define the price drop threshold (expressed as a percentage) at which the block will be validated. For example, go to the next block if the price drops by 10%.

The percentage of change defined in the block is relative to a particular context. This context can be:

  • "Market" evolution: The block will be validated if the market price has dropped x% since the highest point recorded by the block. This option is ideal for creating trailing stops.

    Example: If you choose a 10% drop from the market and the monitored asset goes from $80 to $100 and then back to $90 the block will be triggered ($100 - 10% drop = $90).
  • Evolution in relation to the price of the "last trade": The block will be validated if the price drops by x% in relation to the last Sell or Buy block executed in the strategy flow.

    Example: If you choose a 10% drop from the price of the last trade, and you bought the asset in question at $10, the block will validate when the asset reaches $9.
  • The evolution compared to the price of the "last block": The drop will be calculated on the recorded value of the previous block. Indeed, at each block executed by the flow of your strategy, the price of the asset is read and recorded. This block therefore allows you to expect a "drop of X% from now on".

    Example: If you choose a 10% drop from the last block price and the monitored asset goes from $90 to $100 and then back to $81 the block will be triggered ($90 - 10% drop = $81).
  • Change from average purchase price: The block will be validated if the price falls by x% from the average price at which the strategy bought the assets it currently holds.

    Example: If your strategy bought 0.01 BTC at $20,000 and 0.02 BTC at $18,500, and you expect a 10% drop from the average purchase price, the block will validate when the asset reaches $17,100 (i.e. 1/3 of the assets at 20,000 + 2/3 of the assets bought at $18,500 = $19,000 - 10% = $17,100).
  • Evolution in relation to the average sale price: The block will be validated if the price increases by x% in relation to the average price at which the strategy sold the assets it currently holds.

    Example: If your strategy sold 0.01 BTC at $20,000 and 0.02 BTC at $18,500, and you expect a 10% drop from the average purchase price, the block will validate when the asset reaches $17,100 (i.e. 1/3 of the assets at 20,000 + 2/3 of the assets purchased at $18,500 = $19,000 - 10% = $17,100)

Advanced options

To protect yourself from important market movements during high volatility phases, it is possible to set up a double price check. This double check allows you to wait for a second validation of the price condition after a given time (expressed in seconds). This prevents the block from being validated on a few seconds wick, however your strategy will lose reactivity on fast market movements.


Do not hesitate to join us on our Telegram and Discord groups as well as our other social networks to share your opinion and your feedback on the Kryll.io platform.

Kryll.io

Happy Trading,

Website : https://kryll.io
Twitter : @Kryll.io
Telegram EN : https://t.me/kryll_io
Telegram FR: https://t.me/kryll_fr
Telegram ES: https://t.me/kryll_es
Discord : https://discord.gg/PDcHd8K
Facebook : https://www.facebook.com/kryll.io
Support : [email protected]

Author image

About MonsieurK

Is there a POAP for everything ?