Re: The regularised momentum candles button body wick is looking forward to a repair

3
Kvak teacher added arrows on the regularized_momentum_2_1_Histo BT, but I can't get the arrows to display on the main chart.post1295453023.html?hilit=regularized_m ... 295453023I wonder where in the code things are incorrect?Could Kvak/mrtools please modify the code: to make the arrows display on the main chart, while the histogram and buttons display in the technical indicators window (sub-window)?If there are any other errors in the code, please fix those as well.Many thanks!

Re: The regularised momentum candles button body wick is looking forward to a repair

4
太虚一毫 wrote: Sun May 25, 2025 9:19 pm Kvak teacher added arrows on the regularized_momentum_2_1_Histo BT, but I can't get the arrows to display on the main chart.post1295453023.html?hilit=regularized_m ... 295453023I wonder where in the code things are incorrect?Could Kvak/mrtools please modify the code: to make the arrows display on the main chart, while the histogram and buttons display in the technical indicators window (sub-window)?If there are any other errors in the code, please fix those as well.Many thanks!
On the page you referred version 2_1 histo doesn't have the arrows, on the version you posted have no idea what was being attempted.
These users thanked the author mrtools for the post:
太虚一毫

Re: The regularised momentum candles button body wick is looking forward to a repair

5
mrtools wrote: Mon May 26, 2025 1:23 am On the page you referred version 2_1 histo doesn't have the arrows, on the version you posted have no idea what was being attempted.
My thoughts are:At the close of the current candle, if its body is more than 3 times larger than the body of the previous candle (adjustable), and the slope of the current candle is upward (long shadow up), then an up arrow is displayed at the closing price of the current candle; Conversely, if the body of the current candle closes more than 3 times (adjustable) than the body of the previous candle and the slope of the current candle is downward (long shadow downward), a downward arrow will be displayed at the closing price of the current candle.Only one arrow in the same direction is allowed to appear, i.e. one up arrow, one down arrow, loop.The display of arrows can be filtered by volume, dynamic threshold, high timeframe slope confirmation, and key price level.