imi t trade
Info
The imi t trade is a Expert Advisor for MetaTrader 4 that this is a small program that simulates a sequence of opening and closing trades based on specified parameters and tracks the number of profitable and unprofitable orders in a row. it may be useful for certain trading strategies.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.
How to Install and Use imi t trade
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
this is a small program that simulates a sequence of opening and closing trades based on specified parameters and tracks the number of profitable and unprofitable orders in a row.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.
Description & Settings
Related: Quantora Trade Manager MT4: Advanced Position Management for MetaTrader 4 - another powerful expert for MetaTrader 4 traders.
this is a small program that simulates a sequence of opening and closing trades based on specified parameters and tracks the number of profitable and unprofitable orders in a row. it may be useful for certain trading strategies.Also recommended: Quantora Risk Calculator MT4: Professional Trade Risk and Reward Analysis - similar expert with strong performance on MetaTrader 4.
it is neither a typical indicator nor an expert advisor. the program is designed to test the feasibility of indicator-free trading, with the potential to integrate a doubler later. it can open real trades after a specified number of simulated losing trades, maintaining the specified order sequence.
the core algorithm works as follows: open a buy order, and if it's a loss, open a sell order and increment a counter by 1. if the buy order is a win, open another buy order and reset the counter to 0. the same logic applies to sell orders. after a specified number of simulated losing trades, the program starts trading with real orders, switching back to simulation mode after a winning trade and waiting for the specified number of losses again.
control variables: sh sets sl and tp for simulated trades, b1 and s1 determine the initial trade direction (buy or sell).
arrays:
- mas_time[2,1000] stores the time of each simulated trade.
- mas_ap[2,1000] stores the open and close prices of each simulated trade.
- mas_line[1,1000] is a string array storing trend line names for annotations.
functions:
- start: populates the array of names, records the initial time and price.
- sx1: fills the time and price arrays.
- sx2: determines the direction of price deviation.
- mes_func: interprets deviations based on settings.
tested on historical data for eur/usd over the past few months. for clarity, it's recommended to test on weekly or bi-weekly intervals.
suggestions and constructive feedback are welcome.
You may also like: e-signal of trade expert advisor - excellent alternative for expert users on MetaTrader 4.
Source Code
datetime t0,t1, mas_time[2,1000];
double sh=0.0030, mas_ap [2,1000];
int sp,y, sx, m,b2, s2, s3, b1=1, s1=0;
string mas_line[1,1000];
int start(){m=m+1; mas_line[0,m]=m; if(y==0){mas_ap[0,0]=((ask+bid)/2); mas_time[0,0]=itime(null,0,0); y=1;} if(y<1000){sx1();}}
int sx1(){if(((ask+bid)/2)>mas_ap[0,y-1]+sh || ((ask+bid)/2)<mas_ap[0,y-1]-sh){mas_ap[0,y]=((ask+bid)/2); mas_time[0,y]=itime(null,0,0); y=y+1; sx2(y,mas_ap[0,y-2]);}}
int sx2(int id1, double id2){if(((ask+bid)/2)>id2+sh){sx=1;} if(((ask+bid)/2)<id2-sh){sx=2;} mes_func(id1,sx);}
int mes_func(int id1, int id2){ s3=s3+1;
if(b1==1){
if(id2==1){s2=0; print("buy - ",s2); b1=1; s1=0; return;}
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.