Orders Execution
0
Views
0
Downloads
0
Favorites
Profitability Reports
GBP/USD
Oct 2024 - Jan 2025
39.00 %
Total Trades
7559
Won Trades
0
Lost trades
0
Win Rate
0.00 %
Expected payoff
-1.32
Gross Profit
6357.00
Gross Loss
-16319.60
Total Net Profit
-9962.60
-100%
-50%
0%
50%
100%
NZD/USD
Oct 2024 - Jan 2025
14.00 %
Total Trades
2750
Won Trades
553
Lost trades
2197
Win Rate
0.20 %
Expected payoff
-3.63
Gross Profit
1659.00
Gross Loss
-11642.30
Total Net Profit
-9983.30
-100%
-50%
0%
50%
100%
5M SCALP FIX
/*-----------------------------+
| |
| Shared by www.Aptrafx.com |
| |
+------------------------------*/
//+------------------------------------------------------------------+
//| DailyScalp.mq4 |
//| |
//|
//+------------------------------------------------------------------+
#property copyright "borrowed some code from mpfx"
#property link "http://www.stideas.com"
extern double risk = 0.1;
extern double TakeProfit = 30;
extern double Lots = 1;
extern double TrailingStop = 99;
extern double Stoploss = 17;
extern double Pips = 16;
extern double Perc = 5;
double Points;
int init ()
{
Points = MarketInfo (Symbol(), MODE_POINT);
//----
return(0);
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
int deinit()
{
return(0);
}
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
double Levv=0;
int cnt=0, total;
if(Bars<10)
{
Print("bars less than 100");
return(0);
}
if(OrdersTotal()<1)
{
if(AccountFreeMargin()<(1*Lots))
{
Print("BrokeAsAJoke");
return(0);
}
Levv= (MathCeil(AccountEquity() * risk / 10000)/10);
// (BUY)
if (Close[1]>Close[2])
{
OrderSend(Symbol(),OP_BUY,Levv,Ask,3,Bid-Stoploss*Points,Ask+TakeProfit*Points,0,0,Red);
return(0);
}
/*
if (Close[1]>Close[2])
{
OrderSend(OP_BUY,Levv,Ask,3,Bid-Stoploss*Points,Ask+TakeProfit,0,0,Red);
return(0);
}
*/
// (SELL)
if (Close[1]<Close[2])
{
OrderSend(Symbol(),OP_SELL,Levv,Bid,3,Ask+Stoploss*Points,Bid-TakeProfit*Points,0,0,Red);
return(0);
}
/*
if (Close[1]<Close[2])
{
OrderSend(OP_SELL,Levv,Bid,3,Ask+Stoploss*Points,Bid-TakeProfit,0,0,Red);
return(0);
}
return(0);
*/
}
total=OrdersTotal();
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if(OrderType()<=OP_SELL && OrderSymbol()==Symbol())
{
if(OrderType()==OP_BUY)
{
if((OrderOpenTime() - (CurTime() >= 300))|| (AccountProfit() >2))
{
OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet);
return(0);
}
}
}
}
total=OrdersTotal();
for(cnt=0;cnt<OrdersTotal();cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if(OrderType()<=OP_BUY && OrderSymbol()==Symbol())
{
if(OrderType()==OP_SELL)
{
if ((OrderOpenTime() - (CurTime() >= 300))|| (AccountProfit() >2))//1 Day//
{
OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet);
return(0);
}
}
}
}
}
Comments
Markdown Formatting Guide
# H1
## H2
### H3
**bold text**
*italicized text*
[title](https://www.example.com)

`code`
```
code block
```
> blockquote
- Item 1
- Item 2
1. First item
2. Second item
---