do not ask for another calculation
just this one by creating mode 1 and 2
speaking french would be good
on the 2 images, you can see this indicator that changes in the history on the few bars before.
the goal of your program is that it does not do it anymore but the calculation must remain the same
1: we keep the same mode of calculation with the difference that will create the modification
example: if the indicator goes up 10, goes down 3 goes up 20, I need to have 27 up .etc ....
mode 2: we keep the same calculation method upwards but if the difference between the 2 bars on the original indicator is less than X after a total increase of Y, we take the difference of the original calculation
example: if the indicator goes up by 10, goes down by 3 goes up by 20 (and is greater than Y), if it goes down by 17 and the difference between the orange and blue line is equal to or smaller than X on the original indicator, then take the distance of the original indicator between these 2 lines
must clean the indicator
I use only :
len , history bar s,uroven signal,alert sound
what is important is to remove false signals by modifying its display to use for scalping or swing trading
X = max height
Y = minimum distance
name of the program : CO1