Author: RamilT
Profit factor:
0.25
Price Data Components
Series array that contains open prices of each barSeries array that contains close prices for each bar
Orders Execution
Checks for the total of open ordersIt automatically opens orders when conditions are reached
0 Views
0 Downloads
0 Favorites
qq
// Because of my dismal stupidity not even named this EA 
#property copyright "RamilT" 
#property link "RamilT@bk.ru" 


//-----------------------------------Òèïà ïåðåìåííûå----------------------------------------------------------- 
extern int pr=11; 
extern int sl=35; 
extern int tp=75; 
extern int tz=60; 
extern int mm=1; 
extern int qq=10; 
extern int chas1=5; 
extern int chas2=17; 

static double Lots=1; 
//------------------------------------------------------------------------------------------------------------- 


int start() 
{ 
if(Hour()<=chas1||Hour()>=chas2)return(0); 
if(Bars<100) 
{ 
Print("bars less than 100"); 
return(0); 
} 
//-----------------------------------Ìîíýé ìåíäæìåíò----------------------------------------------------------- 
if (mm==1) 
{ 
if(Lots<(MathCeil((AccountFreeMargin()/1000)*qq)/10)){Lots=(MathCeil((AccountFreeMargin()/10000)*qq)/10);if(Lots>100){Lots=100;}} 
} 
//------------------------------------------------------------------------------------------------------------- 


//----------------------------------Ãëàâíûé àëãîðèòì----------------------------------------------------------- 
if(Month()!=12){ 
if(DayOfWeek()!=1){ 
if(OrdersTotal()<1) 
{ 
if (((iOpen(NULL,5,1)-iClose(NULL,5,pr))>(Point*tz))&&(Ask>iOpen(NULL,5,1))) 
{ 
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-sl*Point,Ask+tp*Point,"qq-buy60",11603575,0,Blue); 
} 


if (((iOpen(NULL,5,1)-iClose(NULL,5,pr))<(-Point*tz))&&(Bid<iOpen(NULL,5,1))) 
{ 
OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+sl*Point,Bid-tp*Point,"qq-sell60",11603575,0,Red); 
} 
} 
} 
} 
//------------------------------------------------------------------------------------------------------------- 


} 

Profitability Reports

USD/CAD Oct 2024 - Jan 2025
0.07
Total Trades 1270
Won Trades 40
Lost trades 1230
Win Rate 3.15 %
Expected payoff -7.85
Gross Profit 755.15
Gross Loss -10730.21
Total Net Profit -9975.06
-100%
-50%
0%
50%
100%
NZD/USD Oct 2024 - Jan 2025
0.00
Total Trades 0
Won Trades 0
Lost trades 0
Win Rate 0.0 %
Expected payoff 0.00
Gross Profit 0.00
Gross Loss 0.00
Total Net Profit 0.00
-100%
-50%
0%
50%
100%
GBP/USD Oct 2024 - Jan 2025
0.46
Total Trades 1805
Won Trades 317
Lost trades 1488
Win Rate 17.56 %
Expected payoff -5.49
Gross Profit 8415.00
Gross Loss -18333.00
Total Net Profit -9918.00
-100%
-50%
0%
50%
100%
AUD/USD Oct 2024 - Jan 2025
0.46
Total Trades 596
Won Trades 0
Lost trades 0
Win Rate 0.00 %
Expected payoff -10.74
Gross Profit 5362.50
Gross Loss -11763.50
Total Net Profit -6401.00
-100%
-50%
0%
50%
100%

Comments