Re: MT4 Indicator requests and ideas

8381
Guys,
Anyone know a multi volume / volatility indicator? It's like a single indicator but with so many sub-indicator inside it, similar to many moving averages or CqBaseline that i attach.
I just realize how useful an indicator like this especially if you develop a strategy that heavily relies on indicator. You can just create an EA base on it and do the optimization to mix and match each of them.


Re: MT4 Indicator requests and ideas

8385
Hello!

Would it be possible to create a small software that modifies the template file (tpl) so that the group of custom indicators of each system or strategy can be placed within individual subfolders?

For example, if we have a system called PerfectHolyGrail that works with 2 custom indicators and with two standard Metatrader 4 indicators, it should modify the template file so that the custom indicators can be placed inside a subfolder inside the indicators folder MT4 standard, while standard MT4 indicators (such as Bands or ZigZag) should normally remain within the standard folder of Metatrader 4.

I hope you understand the idea .. In this way we would not fill the standard folder of MT4 indicators with strange indicators, slowing it down. Even if we do not want to use the strategy or system we could hide the PerfectHolyGrail folder, in this particular case, so that it cannot be detected by MT4 and does not load them into the computer's memory.

Note: The PerfectHolyGrail system does not exist, I just put it as an example. :D

In the images you can see how the subfolder would look inside the standard folder of indicators of Metatrader 4. When it is hidden (with the exclamation mark !) it cannot be detected by MT4 and does not load the indicators. This way we can have a super light Metatrader 4 as newly installed. And when the folder is not hidden, we can use our system.
Attachments


Re: MT4 Indicator requests and ideas

8386
dear mister tools .
i am looking at this code to mirror it.
i tried multiple things but i cant make it work .
i would be the happiest person on earth if you can code this for me because your the expert.
this is the code .
i would like this to mirror on the main screen like it is displayed now.
so it would turn off the bars if there is a trend and come to it like a hart shape end crosses the other way if the trend changes .
so that it does exactly the opposite what the normal ribbon does now.
hope you understand.
kindest regards

Code: Select all

/*

*********************************************************************

Rainbow MMA 1
Copyright © 2006 Akuma99

*********************************************************************

*/


#property copyright "Code written by - Akuma99"

#property indicator_chart_window
#property indicator_buffers 8
#property indicator_color1 Gold
#property indicator_color2 Gold
#property indicator_color3 Gold
#property indicator_color4 Gold
#property indicator_color5 Gold
#property indicator_color6 Gold
#property indicator_color7 Gold
#property indicator_color8 Gold

//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
double ExtMapBuffer5[];
double ExtMapBuffer6[];
double ExtMapBuffer7[];
double ExtMapBuffer8[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE,EMPTY,1);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexStyle(1,DRAW_LINE,EMPTY,1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE,EMPTY,1);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE,EMPTY,1);
SetIndexBuffer(3,ExtMapBuffer4);
SetIndexStyle(4,DRAW_LINE,EMPTY,1);
SetIndexBuffer(4,ExtMapBuffer5);
SetIndexStyle(5,DRAW_LINE,EMPTY,1);
SetIndexBuffer(5,ExtMapBuffer6);
SetIndexStyle(6,DRAW_LINE,EMPTY,1);
SetIndexBuffer(6,ExtMapBuffer7);
SetIndexStyle(7,DRAW_LINE,EMPTY,1);
SetIndexBuffer(7,ExtMapBuffer8);
//----
return(0);
}

int deinit()
{
return(0);
}

int start()
{
int i,j,limit,counted_bars=IndicatorCounted();


if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;

for(i=0; i<limit; i++){
ExtMapBuffer1=iMA(NULL,0,2,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer2=iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer3=iMA(NULL,0,4,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer4=iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer5=iMA(NULL,0,6,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer6=iMA(NULL,0,7,0,MODE_EMA,PRICE_CLOSE,i);
}


return(0);
}
//+------------------------------------------------------------------+

Re: MT4 Indicator requests and ideas

8387
bartgevers013 wrote: Mon Feb 17, 2020 3:02 am dear mister tools .
i am looking at this code to mirror it.
i tried multiple things but i cant make it work .
i would be the happiest person on earth if you can code this for me because your the expert.
this is the code .
i would like this to mirror on the main screen like it is displayed now.
so it would turn off the bars if there is a trend and come to it like a hart shape end crosses the other way if the trend changes .
so that it does exactly the opposite what the normal ribbon does now.
hope you understand.
kindest regards

Code: Select all

/*

*********************************************************************

Rainbow MMA 1
Copyright © 2006 Akuma99

*********************************************************************

*/


#property copyright "Code written by - Akuma99"

#property indicator_chart_window
#property indicator_buffers 8
#property indicator_color1 Gold
#property indicator_color2 Gold
#property indicator_color3 Gold
#property indicator_color4 Gold
#property indicator_color5 Gold
#property indicator_color6 Gold
#property indicator_color7 Gold
#property indicator_color8 Gold

//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
double ExtMapBuffer5[];
double ExtMapBuffer6[];
double ExtMapBuffer7[];
double ExtMapBuffer8[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE,EMPTY,1);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexStyle(1,DRAW_LINE,EMPTY,1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE,EMPTY,1);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE,EMPTY,1);
SetIndexBuffer(3,ExtMapBuffer4);
SetIndexStyle(4,DRAW_LINE,EMPTY,1);
SetIndexBuffer(4,ExtMapBuffer5);
SetIndexStyle(5,DRAW_LINE,EMPTY,1);
SetIndexBuffer(5,ExtMapBuffer6);
SetIndexStyle(6,DRAW_LINE,EMPTY,1);
SetIndexBuffer(6,ExtMapBuffer7);
SetIndexStyle(7,DRAW_LINE,EMPTY,1);
SetIndexBuffer(7,ExtMapBuffer8);
//----
return(0);
}

int deinit()
{
return(0);
}

int start()
{
int i,j,limit,counted_bars=IndicatorCounted();


if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;

for(i=0; i<limit; i++){
ExtMapBuffer1=iMA(NULL,0,2,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer2=iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer3=iMA(NULL,0,4,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer4=iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer5=iMA(NULL,0,6,0,MODE_EMA,PRICE_CLOSE,i);
ExtMapBuffer6=iMA(NULL,0,7,0,MODE_EMA,PRICE_CLOSE,i);
}


return(0);
}
//+------------------------------------------------------------------+
Sorry not understanding.


Who is online

Users browsing this forum: DotNetDotCom [Bot], Google Images [Bot], WhatsApp [Bot] and 90 guests