Price Data Components
Orders Execution
0
Views
0
Downloads
0
Favorites
Profitability Reports
AUD/USD
Oct 2024 - Jan 2025
31.00 %
Total Trades
2212
Won Trades
0
Lost trades
0
Win Rate
0.00 %
Expected payoff
-1.78
Gross Profit
1747.20
Gross Loss
-5684.20
Total Net Profit
-3937.00
-100%
-50%
0%
50%
100%
GBP/CAD
Oct 2024 - Jan 2025
0.00 %
Total Trades
386
Won Trades
0
Lost trades
0
Win Rate
0.00 %
Expected payoff
-4.75
Gross Profit
0.00
Gross Loss
-1831.62
Total Net Profit
-1831.62
-100%
-50%
0%
50%
100%
GBP/USD
Oct 2024 - Jan 2025
10.00 %
Total Trades
690
Won Trades
93
Lost trades
597
Win Rate
0.13 %
Expected payoff
-3.58
Gross Profit
269.70
Gross Loss
-2737.00
Total Net Profit
-2467.30
-100%
-50%
0%
50%
100%
[ea]2Bar trend_Ron_MT4_v01
/*-----------------------------+
| |
| Shared by www.Aptrafx.com |
| |
+------------------------------*/
//
// 2 Bar Trend
extern int ProfitMade=65;
extern int LossLimit=20;
extern double OCSpread=8;
// Bar handling
datetime bartime=0;
bool TradeAllowed=true;
int start()
{
double SL,TP;
double ocs=OCSpread*Point();
// bar counting
if(bartime!=Time[0])
{
bartime=Time[0];
TradeAllowed=true;
}
//rising
if ( Open[1]+ocs < Close[1] && Close[1] < Open[0] )
{
//buy
SL=Ask-( LossLimit*Point() );
TP=Ask+( ProfitMade*Point() );
OrderSend(Symbol(),OP_BUY,0.1,Ask,3,SL,TP,"2Bar",55555,White);
TradeAllowed=false;
}
//falling
if ( Open[1] > Close[1]+ocs && Close[1] > Open[0] )
{
//sell
SL=Ask+( LossLimit*Point() );
TP=Ask-( ProfitMade*Point() );
OrderSend(Symbol(),OP_SELL,0.1,Bid,3,SL,TP,"2Bar",55555,Red);
TradeAllowed=false;
}
} //start
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
---