Yes, simply follow the instructions on line 151 and 160.Originally Posted by ;
Hi,
I Have Another problem. I am using the JFD Broker to check the LoneWolf EA on a demo account, however, regardless of what I try, it will not place buys and sells.
My plan was really to change the code in some areas to adapt for my thoughts, but I can't get the unaltered version to work at all. I even replaced my Smooth HA indior from Otis' post. To have an easier time I am using the version and trailing.
I am really at a loss here and any assistance will be appreciated. Thanks in advance.
Me too, I loaded onto a FX Pro demo account but it has yet to activate any transactions. I see the LoneWolf emblem on the upper corner of the chart so I think the EA is activated and runningOriginally Posted by ;
Hello,
it didn't open any tradesthe EA is on the green light is on. I did what you instructed but open transactions. . .please look into this. Various men have similar troubles.
Thank you
Originally Posted by ;
Hello Traders,
I am new to the forum altogether and that is my very first post:--RRB-
I went back to this lonewolf and made a few alterations.
I altered the open and close states to open at the first and second bar shift, and close at the first or second.
I also gave it a stop loss.
Back analyzed 2 years to the 1 Day timeframe and obtained (too good to be true?) results.
Will you please check it and please tell me it is not too good to be true! :-S
reside testing starting today.
https://www.forexsoutheast.asia/atta...1568977290.ex4
you want to offer the mq4 document, otherwise how does developer going to check it.Originally Posted by ;
Sorry I didn't realize I uploaded the ex4. I made some modifications to this entry/exit logic because it slipped.Originally Posted by ;
Thanks,
Bassem
https://www.forexsoutheast.asia/atta...5217778155.mq4
Hi everyone,
Some very interesting remarks on Heiken i.
I've downloaded an indior that shows the closed and open prices onto an Heiken I chart. I'd like to make an expert advisor using using this indior when the lines cross.
Can anyone assist?
Here is the indior for Heiken i.. .
#property indior_chart_window
#property indior_buffers 4
#property indior_color1 Red
#property indior_color2 White
#property indior_color3 Red
#property indior_color4 White
#property indior_width1 1
#property indior_width2 1
#property indior_width3 3
#property indior_width4 3
//--
extern color color1 = Red;
extern color color2 = White;
extern color color3 = Red;
extern color color4 = White;
//-- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//--
int ExtCountedBars=0;
// ------------------------------------------------------------------
//| Custom indior initialization function |
//|------------------------------------------------------------------|
int init()
//-- indiors
SetIndexStyle(0,DRAW_NONE, 0, 1, color1);
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexStyle(1,DRAW_NONE, 0, 1, color2);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexStyle(2,DRAW_LINE, 0, 2, color3);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexStyle(3,DRAW_LINE, 0, 2, color4);
SetIndexBuffer(3, ExtMapBuffer4);
//--
SetIndexDrawBegin(0,10);
SetIndexDrawBegin(1,10);
SetIndexDrawBegin(2,10);
SetIndexDrawBegin(3,10);
//-- indior buffers mapping
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexBuffer(3,ExtMapBuffer4);
//-- initialization done
return(0);
// ------------------------------------------------------------------
//| Custom indior deinitialization function |
// ------------------------------------------------------------------
int deinit()
//-- TODO: add your code here
//--
return(0);
// ------------------------------------------------------------------
//| Custom indior iteration function |
// ------------------------------------------------------------------
int start()
double haOpen, haHigh, haLow, haClose;
if(Barslt;=10) return(0);
int counted_bars = IndiorCounted();
if(counted_bars lt; 0) return(-1);
if(counted_bars gt; 0) counted_bars--;
int pos = Bars - counted_bars;
if(counted_bars==0) pos-=1 1;
while(posgt;=0)
haOpen=(ExtMapBuffer3[pos 1] ExtMapBuffer4[pos 1])/2;
haClose=(Open[pos] High[pos] Low[pos] Close[pos])/4;
haHigh=MathMax(High[pos], MathMax(haOpen, haClose));
haLow=MathMin(Low[pos], MathMin(haOpen, haClose));
if (haOpenlt;haClose)
ExtMapBuffer1[pos]=haLow;
ExtMapBuffer2[pos]=haHigh;
else
ExtMapBuffer1[pos]=haHigh;
ExtMapBuffer2[pos]=haLow;
ExtMapBuffer3[pos]=haOpen;
ExtMapBuffer4[pos]=haClose;
pos--;
//--
return(0);
https://www.forexsoutheast.asia/atta...1061666060.mq4
HOW DO I BACK TEST?
Gt; I've got this EA in my LIVE and also a DEMO account and continue 2 days NOT a single trade taken
gt; I attempted to run a egy tester, also comes with ZERO benefits.
AUTO trading is ON GREEN and I have a smily face!
where am i going wrong? I am a bit of a newbie can, on Experts