Orders Execution
Indicators Used
0
Views
0
Downloads
0
Favorites
Profitability Reports
AUD/USD
Oct 2024 - Jan 2025
0.00 %
Total Trades
5
Won Trades
0
Lost trades
0
Win Rate
0.00 %
Expected payoff
3263.00
Gross Profit
16315.00
Gross Loss
0.00
Total Net Profit
16315.00
-100%
-50%
0%
50%
100%
GBP/USD
Oct 2024 - Jan 2025
0.00 %
Total Trades
5
Won Trades
5
Lost trades
0
Win Rate
1.00 %
Expected payoff
3941.00
Gross Profit
19705.00
Gross Loss
0.00
Total Net Profit
19705.00
-100%
-50%
0%
50%
100%
SmallHelp@Sell
//=====================================================================================================================================================
int NONE=0; int MaxOrders=5; double LOTS=0.5; double StopLoss=0.00000; double TakeProfit=0.00000;
//=====================================================================================================================================================
int Window=1,TimePart=0; double MinValue=-0.007978,MaxValue=0.086278; int Color=Blue;
//=====================================================================================================================================================
double Vertical,Horizontal; int SColor=White;
//=====================================================================================================================================================
int init()
{
OpenSell();
DrawVertical();
DrawHorizontal();
return(0);
}
int deinit()
{
return(0);
}
int start()
{
OpenSell();
DrawVertical();
DrawHorizontal();
return(0);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------
double OpenSell()
{
if(OrdersTotal()<MaxOrders)
{
//OrderSend(Symbol(),OP_SELL,LOTS,Bid,3,Ask+150*Point,Ask-100*Point,"SELL",0,0,Yellow);
OrderSend(Symbol(),OP_SELL,LOTS,Bid,3,StopLoss,TakeProfit,"SELL",0,0,Yellow);
OpenSell();
}
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------
double DrawVertical()
{
SetVertical();
ObjectDelete("OpenedVertical");
ObjectCreate("OpenedVertical",OBJ_VLINE,Window,TimePart,Vertical);
ObjectSet("OpenedVertical",OBJPROP_COLOR,SColor);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------
double DrawHorizontal()
{
SetHorizontal();
ObjectDelete("OpenedHorizontal");
ObjectCreate("OpenedHorizontal",OBJ_HLINE,Window,TimePart,Vertical);
ObjectSet("OpenedHorizontal",OBJPROP_COLOR,SColor);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------
double SetVertical()
{
Vertical=iRVI(NULL,0,10,MODE_SIGNAL,0)+iRVI(NULL,0,10,MODE_MAIN,0)*4;
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------
double SetHorizontal()
{
Horizontal=iRVI(NULL,0,10,MODE_SIGNAL,0)+iRVI(NULL,0,10,MODE_MAIN,0)*4;
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------
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
---