PDHIGH is the previous day high. PDHIGH (though its name suggests a Previous Day) is just a previous candle, so you can use it on any supported time period.
This buy strategy is true when spread is higher/lower than the spread between previous candle high and the current price of current candle of a trading pair.
Use Tradingview to visualize this indicator.
View on Tradingview
PDHIGH_candle_period
OPTIONAL:
PDHIGH_range
This setting is optional and provides a way to search for a high within a specified range.
So previous candle high for ETHBTC was 0.034432
Current bid price is about 0.0321190
So the PDHIGH value is negative (-6.71%).
# Buy when price is 0.5% above last candle high price
DEFAULT_D_buy_strategy_label = MYPDHIGH
DEFAULT_D_buy_strategy = PDHIGH
DEFAULT_D_buy_value = 0.5
# Sell when price is 5% above last candle high price
DEFAULT_D_sell_strategy_label = MYPDHIGH
DEFAULT_D_sell_strategy = PDHIGH
DEFAULT_D_sell_value = 5
# Buy when price is -5% below last candle high price
DEFAULT_DCA_D_buy_strategy_label = MYPDHIGH
DEFAULT_DCA_D_buy_strategy = PDHIGH
DEFAULT_DCA_D_buy_value = -5
# Sell when price is 0.1% above last candle high price
DEFAULT_DCA_D_sell_strategy_label = MYPDHIGH
DEFAULT_DCA_D_sell_strategy = PDHIGH
DEFAULT_DCA_D_sell_value = 0.1
# 1 hour candle / timeframe
MYPDHIGH_candle_period = 3600