CandlesticksRe: MT4 Indicator requests and ideas

21521
I was wondering if someone could please make the ADX (all three lines) to repaint (calculate future bar)
I am experimenting, thanks! + -

Snippets that might help ⬇️

Code: Select all

////// Order Logic ///////////////

endbar = BarCount - 1;
    }
    //
    result = Null;
    for( i = startbar; i <= endbar; i++ ) {
        SumI = 0;
        for( k = 0; k < period; k++ ) {
            weight = period - k;
            SumI += weight * array[i - k];
        }
        result[i] = SumI;
    }
    return result / VarSum( period );  

/////////// Repainting Logic /////////////////

function aFishFunc( period ) {
    MaxH = HHV( H, period );
    MinL = LLV( L, period );
    midbar = ( H + L ) / 2;
    
    array1  = 2 * ( ( midbar - MinL ) / ( MaxH - MinL + 1e-30 ) - 0.5 );
    Value = AMA2( array1, 0.33, 0.67 );
    Value = Min( Max( Value, -0.999 ), 0.999 );

    array2 = log( ( 1 + Value ) / ( 1 - Value ) );
    aFish = AMA2( array2, 0.5, 0.5 );
    return IIf( aFish > 0, 10, -10 );
}

function VarSum( per ) {
    result = per;
    for( i = 1; i < per; i++ )
        result += per - i;
    return result;
}
   
Intrigued


Re: MT4 Indicator requests and ideas

21522
kysbog wrote: Thu Jul 24, 2025 12:23 am theres only 2 indicators in the chart polynomial and xard nothing else. did you even test it? if its xard its latest version realeased for mt4.
oh shit I can now barely see the poly reg. but you can't put arrows like that the poly reg repaints, so all arrows are not legit
Scalping the Century TimeFrame since 1999


Re: MT4 Indicator requests and ideas

21528
mrtools wrote: Wed Jun 18, 2025 12:49 pm
Hello Mr Tools! You've probably come across the AO Zotik indicator. I've found an old open-source modification, and I'd like to request that you modify the indicator, as all versions of this indicator lack specific features such as arrows, alerts, and candlestick fillings. I'd like to make the following modifications:
1) When the red and black lines intersect, display an arrow and an alert.
2) Fill the area between the black and green lines with color.
3) Display an arrow and an alert when the red and black lines intersect.
4) Highlight the color of the line itself when it is in the conditional zone of active growth or active decline - above the black and green, or below the black and green.
5) It would be great to make a coefficient that multiplies the settings of the indicator by x2, x3, etc. You can see how this is implemented in version 8.2 - I'm attaching it.

Additionally, if possible, I would like to create a button-based indicator that displays these data on the chart as a color fill of the candles. Thank you in advance.
These users thanked the author MDX for the post (total 3):
mrtools, Tsar, Jimmy