Forex Philosopher
M candles / Custom candles for second charts 1 reply
Broker Challenge "NDD/STP" vs. True "ECN" and "Mkt Mkr" broker talk 46 replies
Dealing with "Invalid Price", "Requote", "Server Busy" in MT4 3 replies
Calculating only buy candles vs sell candles 2 replies
Do currency pairs affect each other ? 8 replies
Dislikedthe best strength indicator ever !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Ignored
QuoteDislikedThe best strength indicator ever !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
QuoteDislikedNo one wants to be defeated~
Disliked{quote}{quote} Loss and defeat are ineradicable and unavoidable parts of life. something that must be accepted and should be ingrained in our convictions, especially in our trading culture!!!! sore experiences teach and tell!!Ignored
DislikedWhen you select different currency pairs, the old candles do not get cleared {image}Ignored
Disliked{quote} YESYESYES!!! yesterday after London open {image} find potential bullish and bearish pair then trade {image} lol {image} {image}Ignored
void INDEX() { //ObjectDelete("MA_INDEX_0"); SetPanel("MA_INDEX_0",0,5,40+yx,1260,550,C'0,0,11',C'255,255,255',1,""); //ObjectDelete("MA_INDEX_1"); SetPanel("MA_INDEX_1",0,6,41+yx,28,548,C'0,0,33',C'0,0,33',1,""); //ObjectDelete("MA_INDEX_2"); SetPanel("MA_INDEX_2",0,6,41+yx,1258,19,C'0,0,33',C'0,0,33',1,""); double cccc=3; if(Period()==PERIOD_MN1) {cccc=16; } if(Period()==PERIOD_W1) {cccc=8; } if(Period()==PERIOD_D1) {cccc=3; } if(Period()==PERIOD_H4) {cccc=1.2; } if(Period()==PERIOD_H1) {cccc=0.8; } if(Period()==PERIOD_M30) {cccc=0.4; } if(Period()==PERIOD_M15) {cccc=0.3; } if(Period()==PERIOD_M5) {cccc=0.2; } if(Period()==PERIOD_M1) {cccc=0.1; } if(Period()!=per) {per=Period();OnInit();t=-1;} t++; //Print(Label1," ",Label2," ",Label3," ",Label4," ",Label5," ",Label6," ",Label7," ",Label8); ObjectDelete("MA_EUR_");SetText("MA_EUR_",0,"EUR",200,60,C'255,255,255',font_size+3,"",0); ObjectDelete("MA_GBP_");SetText("MA_GBP_",0,"GBP",250,60,C'0,255,255',font_size+3,"",0); ObjectDelete("MA_AUD_");SetText("MA_AUD_",0,"AUD",300,60,C'255,0,255',font_size+3,"",0); ObjectDelete("MA_NZD_");SetText("MA_NZD_",0,"NZD",350,60,C'255,255,0',font_size+3,"",0); ObjectDelete("MA_USD_");SetText("MA_USD_",0,"USD",400,60,C'0,0,255',font_size+3,"",0); ObjectDelete("MA_CAD_");SetText("MA_CAD_",0,"CAD",450,60,C'0,255,0',font_size+3,"",0); ObjectDelete("MA_CHF_");SetText("MA_CHF_",0,"CHF",500,60,C'255,0,0',font_size+3,"",0); ObjectDelete("MA_JPY_");SetText("MA_JPY_",0,"JPY",550,60,C'255,155,0',font_size+3,"",0); int gg=30; int bbbb=330; int xd=2; int xd1=1; int ff=xd*8; int TTr=1200/ff; int TT=TTr/3; //if(t==0) { //GetInitial(); double Label1=1.0*(iClose("EURGBP"+str,0,TT)*iClose("EURAUD"+str,0,TT)*iClose("EURNZD"+str,0,TT)*iClose("EURUSD"+str,0,TT)*iClose("EURCAD"+str,0,TT)*iClose("EURCHF"+str,0,TT)*iClose("EURJPY"+str,0,TT)/100.0); if((iClose("EURGBP"+str,0,TT))>0.001) double Label2=1.0/(iClose("EURGBP"+str,0,TT))*iClose("GBPAUD"+str,0,TT)*iClose("GBPNZD"+str,0,TT)*iClose("GBPUSD"+str,0,TT)*iClose("GBPCAD"+str,0,TT)*iClose("GBPCHF"+str,0,TT)*iClose("GBPJPY"+str,0,TT)/100.0; if((iClose("EURAUD"+str,0,TT)*iClose("GBPAUD"+str,0,TT))>0.001) double Label3=1.0/(iClose("EURAUD"+str,0,TT)*iClose("GBPAUD"+str,0,TT))*iClose("AUDNZD"+str,0,TT)*iClose("AUDUSD"+str,0,TT)*iClose("AUDCAD"+str,0,TT)*iClose("AUDCHF"+str,0,TT)*iClose("AUDJPY"+str,0,TT)/100.0; if((iClose("EURNZD"+str,0,TT)*iClose("GBPNZD"+str,0,TT)*iClose("AUDNZD"+str,0,TT))>0.001) double Label4=1.0/(iClose("EURNZD"+str,0,TT)*iClose("GBPNZD"+str,0,TT)*iClose("AUDNZD"+str,0,TT))*iClose("NZDUSD"+str,0,TT)*iClose("NZDCAD"+str,0,TT)*iClose("NZDCHF"+str,0,TT)*iClose("NZDJPY"+str,0,TT)/100.0; if((iClose("EURUSD"+str,0,TT)*iClose("GBPUSD"+str,0,TT)*iClose("AUDUSD"+str,0,TT)*iClose("NZDUSD"+str,0,TT))>0.001) double Label5=1.0/(iClose("EURUSD"+str,0,TT)*iClose("GBPUSD"+str,0,TT)*iClose("AUDUSD"+str,0,TT)*iClose("NZDUSD"+str,0,TT))*iClose("USDCAD"+str,0,TT)*iClose("USDCHF"+str,0,TT)*iClose("USDJPY"+str,0,TT)/100.0; if((iClose("EURCAD"+str,0,TT)*iClose("GBPCAD"+str,0,TT)*iClose("AUDCAD"+str,0,TT)*iClose("NZDCAD"+str,0,TT)*iClose("USDCAD"+str,0,TT))>0.001) double Label6=1.0/(iClose("EURCAD"+str,0,TT)*iClose("GBPCAD"+str,0,TT)*iClose("AUDCAD"+str,0,TT)*iClose("NZDCAD"+str,0,TT)*iClose("USDCAD"+str,0,TT))*iClose("CADCHF"+str,0,TT)*iClose("CADJPY"+str,0,TT)/100.0; if((iClose("EURCHF"+str,0,TT)*iClose("GBPCHF"+str,0,TT)*iClose("AUDCHF"+str,0,TT)*iClose("NZDCHF"+str,0,TT)*iClose("USDCHF"+str,0,TT)*iClose("CADCHF"+str,0,TT))>0.001) double Label7=1.0/(iClose("EURCHF"+str,0,TT)*iClose("GBPCHF"+str,0,TT)*iClose("AUDCHF"+str,0,TT)*iClose("NZDCHF"+str,0,TT)*iClose("USDCHF"+str,0,TT)*iClose("CADCHF"+str,0,TT))*iClose("CHFJPY"+str,0,TT)/100.0; if((iClose("EURJPY"+str,0,TT)*iClose("GBPJPY"+str,0,TT)*iClose("AUDJPY"+str,0,TT)*iClose("NZDJPY"+str,0,TT)*iClose("USDJPY"+str,0,TT)*iClose("CADJPY"+str,0,TT)*iClose("CHFJPY"+str,0,TT))>0.001) double Label8=1.0/(iClose("EURJPY"+str,0,TT)/100.0*iClose("GBPJPY"+str,0,TT)/100.0*iClose("AUDJPY"+str,0,TT)/100.0*iClose("NZDJPY"+str,0,TT)/100.0*iClose("USDJPY"+str,0,TT)/100.0*iClose("CADJPY"+str,0,TT)/100.0*iClose("CHFJPY"+str,0,TT)/100.0); } for(int m=TTr;m>=0;m--) { //if(t==0 || (t>0 && m==0)) { if(Label1>=0.001) double Label1Buffer=Tcc*(MathPow(iClose("EURGBP"+str,0,m)*iClose("EURAUD"+str,0,m)*iClose("EURNZD"+str,0,m)*iClose("EURUSD"+str,0,m)*iClose("EURCAD"+str,0,m)*iClose("EURCHF"+str,0,m)*iClose("EURJPY"+str,0,m)/100.0/Label1,1.0/7.0)-dddd); ObjectDelete("EUR"+m); SetPanel("MA_EUR"+m,0,gg+0*xd+ff*m,bbbb,xd,Label1Buffer/cccc,C'255,255,255',C'255,255,255',xd1,""); if(iClose("EURGBP"+str,0,m)>0.1 && Label2>=0.001) double Label2Buffer=Tcc*(MathPow(1.0/iClose("EURGBP"+str,0,m)*iClose("GBPAUD"+str,0,m)*iClose("GBPNZD"+str,0,m)*iClose("GBPUSD"+str,0,m)*iClose("GBPCAD"+str,0,m)*iClose("GBPCHF"+str,0,m)*iClose("GBPJPY"+str,0,m)/100.0/Label2,1.0/7.0)-dddd); ObjectDelete("GBP"+m); SetPanel("MA_GBP"+m,0,gg+1*xd+ff*m,bbbb,xd,Label2Buffer/cccc,C'0,255,255',C'0,255,255',xd1,""); if((iClose("EURAUD"+str,0,m)*iClose("GBPAUD"+str,0,m))>0.1 && Label3>=0.001) double Label3Buffer=Tcc*(MathPow(1.0/(iClose("EURAUD"+str,0,m)*iClose("GBPAUD"+str,0,m))*iClose("AUDNZD"+str,0,m)*iClose("AUDUSD"+str,0,m)*iClose("AUDCAD"+str,0,m)*iClose("AUDCHF"+str,0,m)*iClose("AUDJPY"+str,0,m)/100.0/Label3,1.0/7.0)-dddd); ObjectDelete("AUD"+m); SetPanel("MA_AUD"+m,0,gg+2*xd+ff*m,bbbb,xd,Label3Buffer/cccc,C'255,0,255',C'255,0,255',xd1,""); if((iClose("EURNZD"+str,0,m)*iClose("GBPNZD"+str,0,m)*iClose("AUDNZD"+str,0,m))>0.1 && Label4>=0.001) double Label4Buffer=Tcc*(MathPow(1.0/(iClose("EURNZD"+str,0,m)*iClose("GBPNZD"+str,0,m)*iClose("AUDNZD"+str,0,m))*iClose("NZDUSD"+str,0,m)*iClose("NZDCAD"+str,0,m)*iClose("NZDCHF"+str,0,m)*iClose("NZDJPY"+str,0,m)/100.0/Label4,1.0/7.0)-dddd); ObjectDelete("NZD"+m); SetPanel("MA_NZD"+m,0,gg+3*xd+ff*m,bbbb,xd,Label4Buffer/cccc,C'255,255,0',C'255,255,0',xd1,""); if((iClose("EURUSD"+str,0,m)*iClose("GBPUSD"+str,0,m)*iClose("AUDUSD"+str,0,m)*iClose("NZDUSD"+str,0,m))>0.1 && Label5>=0.001) double Label5Buffer=Tcc*(MathPow(1.0/(iClose("EURUSD"+str,0,m)*iClose("GBPUSD"+str,0,m)*iClose("AUDUSD"+str,0,m)*iClose("NZDUSD"+str,0,m))*iClose("USDCAD"+str,0,m)*iClose("USDCHF"+str,0,m)*iClose("USDJPY"+str,0,m)/100.0/Label5,1.0/7.0)-dddd); ObjectDelete("USD"+m); SetPanel("MA_USD"+m,0,gg+4*xd+ff*m,bbbb,xd,Label5Buffer/cccc,C'0,0,255',C'0,0,255',xd1,""); if((iClose("EURCAD"+str,0,m)*iClose("GBPCAD"+str,0,m)*iClose("AUDCAD"+str,0,m)*iClose("NZDCAD"+str,0,m)*iClose("USDCAD"+str,0,m))>0.1 && Label6>=0.001) double Label6Buffer=Tcc*(MathPow(1.0/(iClose("EURCAD"+str,0,m)*iClose("GBPCAD"+str,0,m)*iClose("AUDCAD"+str,0,m)*iClose("NZDCAD"+str,0,m)*iClose("USDCAD"+str,0,m))*iClose("CADCHF"+str,0,m)*iClose("CADJPY"+str,0,m)/100.0/Label6,1.0/7.0)-dddd); ObjectDelete("CAD"+m); SetPanel("MA_CAD"+m,0,gg+5*xd+ff*m,bbbb,xd,Label6Buffer/cccc,C'0,255,0',C'0,255,0',xd1,""); if((iClose("EURCHF"+str,0,m)*iClose("GBPCHF"+str,0,m)*iClose("AUDCHF"+str,0,m)*iClose("NZDCHF"+str,0,m)*iClose("USDCHF"+str,0,m)*iClose("CADCHF"+str,0,m))>0.1 && Label7>=0.001) double Label7Buffer=Tcc*(MathPow(1.0/(iClose("EURCHF"+str,0,m)*iClose("GBPCHF"+str,0,m)*iClose("AUDCHF"+str,0,m)*iClose("NZDCHF"+str,0,m)*iClose("USDCHF"+str,0,m)*iClose("CADCHF"+str,0,m))*iClose("CHFJPY"+str,0,m)/100.0/Label7,1.0/7.0)-dddd); ObjectDelete("CHF"+m); SetPanel("MA_CHF"+m,0,gg+6*xd+ff*m,bbbb,xd,Label7Buffer/cccc,C'255,0,0',C'255,0,0',xd1,""); if((iClose("EURJPY"+str,0,m)*iClose("GBPJPY"+str,0,m)*iClose("AUDJPY"+str,0,m)*iClose("NZDJPY"+str,0,m)*iClose("USDJPY"+str,0,m)*iClose("CADJPY"+str,0,m)*iClose("CHFJPY"+str,0,m))>0.1 && Label8>=0.001) { double Label8Buffer=Tcc*(MathPow(1.0/(iClose("EURJPY"+str,0,m)/100.0*iClose("GBPJPY"+str,0,m)/100.0*iClose("AUDJPY"+str,0,m)/100.0*iClose("NZDJPY"+str,0,m)/100.0*iClose("USDJPY"+str,0,m)/100.0*iClose("CADJPY"+str,0,m)/100.0*iClose("CHFJPY"+str,0,m)/100.0)/Label8,1.0/7.0)-dddd); ObjectDelete("JPY"+m); SetPanel("MA_JPY"+m,0,gg+7*xd+ff*m,bbbb,xd,Label8Buffer/cccc,C'255,155,155',C'255,155,0',xd1,""); } } } } int dddd=1; int Tcc=10000; int yx=18;
Dislikedsorry my fault. Actually i was trying to use your timeframe selection in the ea instead of the mt4 timeframe selection.Ignored