Author: Copyright � 2006, Renato P. dos Santos
Orders Execution
It automatically opens orders when conditions are reached
0 Views
0 Downloads
0 Favorites

Profitability Reports

AUD/USD Oct 2024 - Jan 2025
31.00 %
Total Trades 1983
Won Trades 0
Lost trades 0
Win Rate 0.00 %
Expected payoff -1.31
Gross Profit 1148.00
Gross Loss -3751.00
Total Net Profit -2603.00
-100%
-50%
0%
50%
100%
GBP/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%
NZD/USD Oct 2024 - Jan 2025
38.00 %
Total Trades 2198
Won Trades 767
Lost trades 1431
Win Rate 0.35 %
Expected payoff -1.15
Gross Profit 1534.00
Gross Loss -4055.60
Total Net Profit -2521.60
-100%
-50%
0%
50%
100%
FXAnt
//+------------------------------------------------------------------+
//|                                                        FXAnt.mq4 |
//|                           Copyright © 2006, Renato P. dos Santos |
//|                                            http://www.reniza.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2006, Renato P. dos Santos"
#property link      "http://www.reniza.com"

void deinit() {
   Comment("");
}

int start()
  {
   if (Period() < 30) {Comment("change to M30 or higher pls"); return(0); }
   if (MathMod(Minute(),Period()) >= 0.5*Period()) return(0);

   if ((High[0]-Low[0])>10*Point && Open[0]<(High[0]+Low[0])/2 && Ask < Open[0])
   OrderSend(Symbol(),OP_BUY,0.1,Ask,2,Ask-30*Point,Ask+20*Point,"FXAnt",0,0,Blue); 
   if ((High[0]-Low[0])>10*Point && Open[0]>(High[0]+Low[0])/2 && Bid > Open[0])
   OrderSend(Symbol(),OP_SELL,0.1,Bid,2,Bid+30*Point,Bid-20*Point,"FXAnt",0,0,Red); 
   return(0);
  }

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---