Need help with an EA

Post Reply
Sniper
Trader
Posts: 16
Joined: Wed Mar 18, 2015 10:24 pm

Need help with an EA

Post by Sniper »

Hi guys, I was wondering if someone could be kind enough to have a look at this EA that i used many many years ago but since digging it out of my archives i can't get it too work?
Cheers in advance.
You do not have the required permissions to view the files attached to this post.
Sniper
Trader
Posts: 16
Joined: Wed Mar 18, 2015 10:24 pm

Need help with an EA

Post by Sniper »

Can anyone help please?
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Need help with an EA

Post by milanese »

Sniper » Mon Mar 28, 2016 5:35 am wrote:Can anyone help please?
attached, you can ignore the warnings as they are only warnings that the code is not optimal coded in the warned parts , the errors are removed.
3_SMA_HiLoSysNewBuilds.mq4
3_SMA_HiLoSysNewBuilds.ex4
Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Sniper
Trader
Posts: 16
Joined: Wed Mar 18, 2015 10:24 pm

Need help with an EA

Post by Sniper »

Thanks so much Tommaso.. :good:
oldfella
Trader
Posts: 46
Joined: Sun Jan 11, 2015 4:59 pm

Need help with an EA

Post by oldfella »

Hi,

I am not sure whether I should be asking these questions here but it seemed the most appropriate thread.

I am trying to learn Empty4 coding which at my age is not easy and is a very slow process. To that end I used a code generator to give me the code for a very basic "Buy" situation so that I could review the code and hopefully understand the process, that part is OK, but here is the part I don't get. Why with 1 signal given, there are multple buys and sells due either to S/L or TP.
As this was run in strategy tester which I know is not the best because of the tick situation and was done on the UK10015. I was wondering whether this was a problem of scale as with currency a pip = 0.0001 whereas with an index it is either a 1 point or a fraction such as 0.5. would this make the 1st statement in:

int start()
{
double MyPoint=Point
if(Digits==3 || Digits==5) MyPoint=Point*10;

Completely wrong.

Even then there are trades that only take 1 "Buy and Sell on each Bar" .

Is there any coder who can help my understanding and tell me what is wrong.

Have attached a picture of the trade which is using the DeMarke Oscillator crossing 0.3 as the signal.

Regards Oldfella
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”