why???

 
what is the trouble of the MultiBank FX?
where is the MultiBank FX? (NFA ID: 0362216 )
 

I believe the ultimate clearing firm of MultiBank FX is:

Forex Liquidity LLC
3333 Michelson Drive, Suite #620
Irvine, CA 92612 USA

phone: (888) 367-3957
fax : (949) 608-1543

help@fxlq.com
www.fxlq.com

I am seriously considering them because of their spread, flexibility and choice of API's. I only have a demo account but have experienced nothing unusual. They do widen their spreads during volatile market conditions and seem to leave them there a little bit longer than FXDD but that is the only thing I have noticed.

 
ScottB wrote:

I believe the ultimate clearing firm of MultiBank FX is:

Forex Liquidity LLC
3333 Michelson Drive, Suite #620
Irvine, CA 92612 USA

phone: (888) 367-3957
fax : (949) 608-1543

help@fxlq.com
http://www.fxlq.com/

I am seriously considering them because of their spread, flexibility and choice of API's. I only have a demo account but have experienced nothing unusual. They do widen their spreads during volatile market conditions and seem to leave them there a little bit longer than FXDD but that is the only thing I have noticed.

thank you, Scottb.
but the MultiBank FX is using MT4.0 else. is there any relations with Meta Co.?
 
I am not 100% certain of what you are asking so I may not answer your question correctly. Forex Liquidity LLC does use MT4.0 and I do not believe there is any relationship beyond the software between them or any other forex dealer with Meta Co. Meta Co. produces MT4 but I don't think they ever act as a broker.
 
thank you very much, Scottb.
by the way, there is a question to ask you. can you write a code for "price" and "MACD" being deviation:

High[i] >= High[Highest(NULL,0,MODE_HIGH, 12, i)];
but MACD < highest value of MACD within 12 period.
  
 
jianweikang:
thank you very much, Scottb.
by the way, there is a question to ask you. can you write a code for "price" and "MACD" being deviation:

High[i] >= High[Highest(NULL,0,MODE_HIGH, 12, i)];
but MACD < highest value of MACD within 12 period.

I am not certain what you the price to be based on.  The above pseudo code would seem to give a signal but I don't know enough about MACD to know the price or direction of that signal.  Possibly another forum member can help out.
 
Yes,you are right,ScottB. I am writing an "EA" on H1 chart that give a signal to buying or selling signals.

Macd[i]=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,i);
if( High[i] >= High[Highest(NULL,0,MODE_HIGH,12,i)] &&
Macd[i]<" highest value of Macd[i] within 12 period")
ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Ask+TrainlingStop*Point, 0, "", #,0,Red);

Now,I don't know how to write "highest value of Macd[i] within 12 period", can you complete it?

Thanks in advance
weikang
 
This is the easy way out; easy to understand, quick and easy for me to code :)

int macdPeriod = 12;
double saveMACD = 0;

for (int idx = 0; idx < macdPeriod; idx++)
{
if (Macd[idx] > saveMACD)
saveMACD = Macd[idx];
}

put this code directly after Macd[i]=iMACD... and that should get you close. I am writing this without the benefit of a complier or testing so a) it may not complie as is, b) it may not work as is but should be close and c) there may be much better ways to do this. Good luck, if I can help any more, please post in this thread as I have suscribed to it.

Happy trading
Scott
 

May be a little wrong for your code,
I meams "within 12 bars get the highest value, not 12 bars before(Macd[idx])". "the price is up than new high, but the macd not, down also not" : High[i] >= High[Highest(NULL,0,MODE_HIGH,12,i)] &&
Macd[i]< " highest value of Macd[i] within 12 period"
and use to chart_window indicate, give me a wrong result, now show you to have a try:
//+------------------------------------------------------------------+
//| EMCI. mq4 |
//| Copyright 2006 |
//| http://www/.------------ |
//+------------------------------------------------------------------+
//---- indicator settings
#property indicator_chart_window
#property indicator_buffers 3
#property indicator_color1 Red
#property indicator_color2 PaleGreen
//+------------------------------------------------------------------+
//| input indicator parameters |
//+------------------------------------------------------------------+
extern int EMPeriod=10;
//+------------------------------------------------------------------+
//| indicator buffers |
//+------------------------------------------------------------------+
double UpEMBuffer[];
double DownEMBuffer[];
double Macd[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicator buffers mapping
SetIndexBuffer(0,UpEMBuffer);
SetIndexBuffer(1,DownEMBuffer);
SetIndexBuffer(2,Macd);
//---- drawing settings
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,233);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,234);
SetIndexStyle(2,DRAW_NONE);
//----
SetIndexEmptyValue(0,0.0);
SetIndexEmptyValue(1,0.0);
//---- name for DataWindow
SetIndexLabel(0,"UpEMC Buy");
SetIndexLabel(1,"DownEMC Sell");
IndicatorShortName("J'EMCI");
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int limit;
int counted_bars=IndicatorCounted();

//---- check for possible errors
if(counted_bars<0) return(-1);
//---- the last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
//---- main loop
for(int i=0; i<limit; i++)
{
Macd[i]=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN, i);
int macdPeriod = 10;
double saveMACDl = 0;
double saveMACDh = 0;
for (int ilx = 0; ilx < macdPeriod; ilx++)
{
if (Macd[ilx] < saveMACDl)
saveMACDl = Macd[ilx];
Macd[ilx]=iMACD(NULL, 0, 12,26, 9,PRICE_CLOSE, MODE_MAIN, ilx);
}
for (int ihx = 0; ihx < macdPeriod; ihx++)
{
if (Macd[ihx] > saveMACDh)
saveMACDh = Macd[ihx];
Macd[ihx]=iMACD(NULL, 0, 12,26, 9,PRICE_CLOSE, MODE_MAIN, ihx);
}
if(High[i]>=High[Highest(NULL,0,MODE_HIGH,10,i)] && Macd[i]<saveMACDh)
{
DownEMBuffer[i]= High[i]+0. 0005;
}
if(Low[i]<=Low[Lowest(NULL,0,MODE_LOW,10,i)] && Macd[i]>saveMACDl)
{
UpEMBuffer[i]= Low[i]-0.0005;
}
}
return(0);
}
//+------------------------------------------------------------------+

Reason: