Woo! Which indicator is that one Fishy?
Re: Supertrend indicators for MT4
162- These users thanked the author vvFish for the post:
- ChuChu Rocket
"Only the price on the chart can show the entrance to the deal..."
Re: Supertrend indicators for MT4
164SuperTrend of CCIthomdel wrote: Sun Apr 25, 2021 6:49 pm @mrtools
Respected Sir, Please see this request.
Please Try to Add these Params : Line Width, Arrows ( Arrow Code, Arrow Size, Arrow Colour, Arrow Gap ), Colour Candles ( Candle Body Width, Wick Width, Candle Colour )
Thanks for your Generosity. Thanks
Added arrows,auto candles, and shadow lines.
Re: Supertrend indicators for MT4
165Respected Sir,
Thank You for this awesome additions. Thanks for your Generosity, Kindness, Shares.
If Possible, Please Add these 2 Options : 1) Use ATR Multiplier : True / False 2) ATR Multiplier : 3.0 (Changeable Value )
( Sorry, I forgot to mention in earlier posts )
Thanks for all the Gifts provided by You on this Forum. Thanks.
Re: Supertrend indicators for MT4
166Beautiful Mrtools, thanks a lot for working on this gem
Re: Supertrend indicators for MT4
167Multiplier option added.thomdel wrote: Tue Apr 27, 2021 2:31 pm Respected Sir,
Thank You for this awesome additions. Thanks for your Generosity, Kindness, Shares.
If Possible, Please Add these 2 Options : 1) Use ATR Multiplier : True / False 2) ATR Multiplier : 3.0 (Changeable Value )
( Sorry, I forgot to mention in earlier posts )
Thanks for all the Gifts provided by You on this Forum. Thanks.
Re: Supertrend indicators for MT4
168Respected sir,
Thanks a Lot. Thanks for your Generosity & Kindness.
Re: Supertrend indicators for MT4
169Hi @mrtools, can I just please check to see if anybody else is getting 'out of memory' errors with this indicator, I am running multiple instances of it and calling it with iCustom from another indicator. But after a good few hours I start to get these messages:
1 12:55:01.069 !SuperTrend cci (arrows + alerts + candles) EURUSD,M1: out of memory
1 12:56:01.485 !SuperTrend cci (arrows + alerts + candles) EURUSD,M1: out of memory
1 12:56:01.515 !SuperTrend cci (arrows + alerts + candles) EURUSD,M1: out of memory
1 12:56:01.545 !SuperTrend cci (arrows + alerts + candles) EURUSD,M1: out of memory
Further testing and unsurprisingly it looks like the indicator itself is fine (I should know better than to question mrtools talent). The memory is leaking out of the indicators that are calling the indicator with iCustom - so its definitely me and not the indi. Apologies for any time wasted.
Re: Supertrend indicators for MT4
170Actually investigating this further, it is specifically the iCustom call to SuperTrend that is causing the problem. It is coded to make the call once every new bar, and like clockwork, every time it makes that call, the memory usage increases until of course it cannot increase any more. I also make some calls on another custom indi, and that doesn't do the same thing. If I disable the Supertrend call from my code, then they memory usage remains constant. Is there anything in the SuperTrend indi that might not play nicely with iCustom ?
My Code is very simple:
Thanks in advance to people.
My Code is very simple:
Code: Select all
if ( iCustom(NULL,0,"!SuperTrend cci (arrows + alerts + candles)",60,"Close price",60,"Display line(s)",true,LimeGreen,Orange,1,LimeGreen,Orange,3,Linen,Green,Crimson,8,Linen,Lime,Orange,4,false,false,false,false,false,false,"alert2.wav",true,2,2,"Up in a circle type arrow","Down in a circle type arrow",0.5,0.5,LimeGreen,Orange,5,1) < 9999999 &&
iCustom(NULL,0,"!SuperTrend cci (arrows + alerts + candles)",60,"Close price",60,"Display line(s)",true,LimeGreen,Orange,1,LimeGreen,Orange,3,Linen,Green,Crimson,8,Linen,Lime,Orange,4,false,false,false,false,false,false,"alert2.wav",true,2,2,"Up in a circle type arrow","Down in a circle type arrow",0.5,0.5,LimeGreen,Orange,5,2) > 9999999 ){
SuperTrend=1;
}