Re: Does this indicator repaint?
153This is Mrtools extended version from Mladen's EP version - so i believes there is no chance for repainting issue
generally all SSA versions recalculates but the one's with EP (end point) never
- These users thanked the author mntiwana for the post (total 2):
- denicalcio, mtp
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Re: Does this indicator repaint?
154thanks mntiwana for your informationmntiwana wrote: Sat Jan 20, 2018 1:43 am
This is Mrtools extended version from Mladen's EP version - so i believes there is no chance for repainting issue
generally all SSA versions recalculates but the one's with EP (end point) never
Re: Does this indicator repaint?
155Hi Mladen;mladen wrote: Sat Dec 16, 2017 5:21 pm
It does
That is a wrongly coded kind of double smoothed stochastic. Here is a version that does not repaint
example.png
What is the math logic of Drake Delay ? Is there mt5 version of this indicator?
thanks.
Re: Does this indicator repaint?
156I haven't seen a mt5 version of that indicatortradd wrote: Sat Jan 20, 2018 6:10 pm
Hi Mladen;
What is the math logic of Drake Delay ? Is there mt5 version of this indicator?
thanks.
Re: Does this indicator repaint?
157This is a small, original, good bar coloring indicator, but do few bars repaint?
Please help me, it does paint all bars yellow instead of green and red ONLY on some mt4. Changes and many clicks on compile (mt4 known 1190 bug) does not help.
Complete code attached, but one look on this part may be enough. Thanks:
Please help me, it does paint all bars yellow instead of green and red ONLY on some mt4. Changes and many clicks on compile (mt4 known 1190 bug) does not help.
Complete code attached, but one look on this part may be enough. Thanks:
Code: Select all
int start()
{
int counted_bars=IndicatorCounted();
int i,limit;
if(counted_bars < 0) return(-1);
if(counted_bars > 0) counted_bars--;
limit = Bars-counted_bars;
//
//
//
for (i=limit; i>=0; i--)
{
double median = iCustom(NULL,0,"SSA of price",TTMLength,NumberOfComputations,NumberOfBars,Price ,0,i);
double medias = iCustom(NULL,0,"SSA of price",TTMLength,NumberOfComputations,NumberOfBars,Price ,0,i+1);
//
//
//
//
//
buffer1[i] = EMPTY_VALUE;
buffer2[i] = EMPTY_VALUE;
buffer3[i] = EMPTY_VALUE;
buffer4[i] = EMPTY_VALUE;
buffer5[i] = EMPTY_VALUE;
buffer6[i] = EMPTY_VALUE;
buffer7[i] = EMPTY_VALUE;
buffer8[i] = EMPTY_VALUE;
if (median < medias)
{
buffer1[i] = High[i];
buffer2[i] = Low[i];
if (Close[i]>Open[i]) { buffer3[i] = Close[i]; buffer4[i] = Open[i]; }
else { buffer4[i] = Close[i]; buffer3[i] = Open[i]; }
}
if (median > medias)
{
buffer1[i] = Low[i];
buffer2[i] = High[i];
if (Close[i]<Open[i]) { buffer3[i] = Close[i]; buffer4[i] = Open[i]; }
else { buffer4[i] = Close[i]; buffer3[i] = Open[i]; }
}
if (median == medias)
{
buffer5[i] = Low[i];
buffer6[i] = High[i];
buffer7[i] = Open[i];
buffer8[i] = Close[i];
}
}
return(0);
}
Re: Does this indicator repaint?
158You need SSA of price indicator in your indicators folder and SSA of price needs the ssa dll file in your library folder.friend4you wrote: Tue Feb 06, 2018 10:10 pm This is a small, original, good bar coloring indicator, but do few bars repaint?
Please help me, it does paint all bars yellow instead of green and red ONLY on some mt4. Changes and many clicks on compile (mt4 known 1190 bug) does not help.
Complete code attached, but one look on this part may be enough. Thanks:
-TTM_ Ssa Bars.mq4Code: Select all
int start() { int counted_bars=IndicatorCounted(); int i,limit; if(counted_bars < 0) return(-1); if(counted_bars > 0) counted_bars--; limit = Bars-counted_bars; // // // for (i=limit; i>=0; i--) { double median = iCustom(NULL,0,"SSA of price",TTMLength,NumberOfComputations,NumberOfBars,Price ,0,i); double medias = iCustom(NULL,0,"SSA of price",TTMLength,NumberOfComputations,NumberOfBars,Price ,0,i+1); // // // // // buffer1[i] = EMPTY_VALUE; buffer2[i] = EMPTY_VALUE; buffer3[i] = EMPTY_VALUE; buffer4[i] = EMPTY_VALUE; buffer5[i] = EMPTY_VALUE; buffer6[i] = EMPTY_VALUE; buffer7[i] = EMPTY_VALUE; buffer8[i] = EMPTY_VALUE; if (median < medias) { buffer1[i] = High[i]; buffer2[i] = Low[i]; if (Close[i]>Open[i]) { buffer3[i] = Close[i]; buffer4[i] = Open[i]; } else { buffer4[i] = Close[i]; buffer3[i] = Open[i]; } } if (median > medias) { buffer1[i] = Low[i]; buffer2[i] = High[i]; if (Close[i]<Open[i]) { buffer3[i] = Close[i]; buffer4[i] = Open[i]; } else { buffer4[i] = Close[i]; buffer3[i] = Open[i]; } } if (median == medias) { buffer5[i] = Low[i]; buffer6[i] = High[i]; buffer7[i] = Open[i]; buffer8[i] = Close[i]; } } return(0); }
Re: Does this repaint?
159Thanks, it works with attached files. Dll comes to library folder, rest to indicators. It takes some seconds to load. Does it repaint?
It catches often good trend change points.
It catches often good trend change points.
Re: Does this indicator repaint?
160Prefer to say it recalculates since repainting is usually a coding error.friend4you wrote: Wed Feb 07, 2018 4:12 am Thanks, it works with attached files. Dll comes to library folder, rest to indicators. It takes some seconds to load. Does it repaint?
It catches often good trend change points.
SSA of price.mq4
SSA of price.ex4
LibSSA.dll