Hi!
I have done some research to find something that works similar to the first mentioned. Here is one called TheTick which is coded for MT4 by Patric Nouvion. I have tested it and for now it looks quite good. The only thing which makes me holding back on it is that I am not completely sure if it is based on acctual tick feed, which it has to be if it should be of any point. If it is, this indicator is something I can really proceed working with.
Could you please take a look at the code and see if it is actually based on tick feed and something we then could use?
Thanks,
Laurus12
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Blue
double TheTick[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,TheTick);
SetIndexDrawBegin(0,5);
SetLevelStyle(1,1,Black);
SetLevelValue(0, 0.0);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
//---- Loop Prep
int Limit; int Count; int PrevDay;
int counted_bars=IndicatorCounted();
if(counted_bars<0) return(-1); // Check for error
if(counted_bars>0) counted_bars--; // Last counted bar will be recounted
Limit = Bars-counted_bars;
double Multiplier = 0;
if( StringFind( Symbol(), "JPY", 0) != -1 )
{
Multiplier = 0.1;
}
else
{
Multiplier = 100.0;
}
for( int i = 0; i < Limit; i++ )
{
TheTick[i] = ( ( Close[i] - Open[i] ) * Volume[i] ) * Multiplier ;
}
//----
return(0);
}
//+------------------------------------------------------------------+