The following functions were added.
Add break even stop mode(6: Breakout judgment）
・ If the closing price of the candlestick breaks the highest value of the most recent N candlesticks, it will be regarded as an uptrend and a break even stop will be activated and exited for the short position.
・ If the closing price of the candlestick breaks the lowest price of the N most recent candlesticks, it is considered that a downward trend has occurred, and a break even stop is activated and exited for the long position.
Adding a closing pattern
After the entry, N candles will be handed over (when TejimaiPattern = 5).
N seconds after entry (when TejimaiPattern = 6 is set).