Orders Execution
Indicators Used
0
Views
0
Downloads
0
Favorites
Profitability Reports
AUD/USD
Oct 2024 - Jan 2025
51.00 %
Total Trades
90
Won Trades
0
Lost trades
0
Win Rate
0.00 %
Expected payoff
-1.63
Gross Profit
155.40
Gross Loss
-302.40
Total Net Profit
-147.00
-100%
-50%
0%
50%
100%
GBP/USD
Oct 2024 - Jan 2025
70.00 %
Total Trades
66
Won Trades
38
Lost trades
28
Win Rate
0.58 %
Expected payoff
-0.84
Gross Profit
129.20
Gross Loss
-184.80
Total Net Profit
-55.60
-100%
-50%
0%
50%
100%
RAVI+AO_v1.2
#property copyright "Shevss"
#property link "http://www.metaquotes.net"
extern int per1=12;
extern int per2=72;
extern double uroven=0.3;
extern int tp=50;
extern int sl=50;
extern double lot=0.1;
double q1,q2,slb,sls,tpb,tps,ac1,ac2,ac0, SMA1,SMA2;
bool New_Bar;
int start()
{
if (OrdersTotal()==1)
return;
New_Bar=false ;
Fun_New_Bar(); //
if (New_Bar==false)
return;
//___________________________________________________________________
SMA1=iMA(NULL,0,per1,0,MODE_SMA,PRICE_CLOSE,1);
SMA2=iMA(NULL,0,per2,0,MODE_SMA,PRICE_CLOSE,1);
q1=((SMA1-SMA2)/(SMA2))*100;
SMA1=iMA(NULL,0,per1,0,MODE_SMA,PRICE_CLOSE,2);
SMA2=iMA(NULL,0,per2,0,MODE_SMA,PRICE_CLOSE,2);
q2=((SMA1-SMA2)/(SMA2))*100;
ac1 =iAC(NULL, 0 ,1);
ac2 =iAC(NULL, 0 ,2);
ac0 =iAC(NULL, 0 ,0);
//____________________________________________________________________
if ( ac1>ac2 && ac2>0 && q1>q2 && q1> uroven )
{
OrderSend ( Symbol(), 0, lot, Ask, 3,Bid-sl*Point,Bid+tp*Point );
}
if ( ac1<ac2 && ac2<0 && q1<q2 && q1< -uroven )
{
OrderSend ( Symbol(), 1, lot, Bid, 3,Ask+sl*Point,Ask-tp*Point);
}
return;
}
//+------------------------------------------------------------------+
void Fun_New_Bar()
{
static datetime New_Time=0;
New_Bar=false;
if(New_Time!=Time[0])
{
New_Time=Time[0];
New_Bar=true;
}
}
//______________________________________________________
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
---