Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information
hi
thanks very much all friends , specific Roger09
I want expert (automatic trade) ForexFreedomBars .
when square 5m , 15m ,30m ,1H is Red , send order SELL by 10-20 TP
when square 5m , 15m ,30m ,1H is Blue , send order BUY by 10-20 TP
(TP, SL , lot, maxtrade) ability have to change
please help me .
extern double Gap = 1; // Gap between the lines of bars
extern int Period_1 = PERIOD_M5;//M15
extern int Period_2 = PERIOD_M15;//M30
extern int Period_3 = PERIOD_M30;//H1
extern int Period_4 = PERIOD_H1;//H4
extern int cci_1 = 2;//50
extern int cci_2 = 2;//14
extern int cci_3 = 2;
extern int cci_4 = 2;
extern int StopLoss=100;
extern int TakeProfit=100;
extern double Lots=0.1;
extern bool AutoDisplay = false;
string shortname = "";
bool firstTime = true;
int UniqueNum = 228;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
for(i=0, y5m=0, y1h=0, y30m=0, y15m=0;i<limit;i++)
{
if (Time[i]<TimeArray_5M[y5m]) y5m++;
if (Time[i]<TimeArray_1H[y1h]) y1h++;
if (Time[i]<TimeArray_30M[y30m]) y30m++;
if (Time[i]<TimeArray_15M[y15m]) y15m++;
int cci_n = cci_1;
for (int tf = 0; tf < 4; tf++)
{
int prd;
switch (tf)
{
case 0: prd = Period_1; cci_n = cci_1; yy = y5m; break;
case 1: prd = Period_2; cci_n = cci_2; yy = y15m; break;
case 2: prd = Period_3; cci_n = cci_3; yy = y30m; break;
case 3: prd = Period_4; cci_n = cci_4; yy = y1h; break;
}
Also wish to know if Metatrader orders can be run from the command line. Or in general if it is possible to interface external applications with Metatrader using some sort of API.
I have an EA built for the "Instant Execution" version of Metatrader4 and I need someone to change the code so it will work on a "Market Execution" version of Metatrader4. Please email me a quote or or any questions to phasna@gmail.com
Does anyone know the icustom statement to use in an EA for this indicator?
It only has one buffer SetIndexBuffer( 0, TrStopLevel ); which is used for the trailing dots, the arrows are drawn by ObjectSet how do you pick that up in the icustom statement?
MT4-LevelStop-Reverse-v2-1.mq4
__________________
New to Forex? Get all you need for Free at my site Click Here
You can also get my Hot Forex System (scroll to the bottom of the page): Click Here
Does anyone know the icustom statement to use in an EA for this indicator?
It only has one buffer SetIndexBuffer( 0, TrStopLevel ); which is used for the trailing dots, the arrows are drawn by ObjectSet how do you pick that up in the icustom statement?
MT4-LevelStop-Reverse-v2-1.mq4
Is anyone out there for help?
__________________
New to Forex? Get all you need for Free at my site Click Here
You can also get my Hot Forex System (scroll to the bottom of the page): Click Here