stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Super noob spread indicator v0.1
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3456
Page 1 of 1
Author:  petaisim [ Wed Feb 19, 2014 1:16 am ]
Post subject:  Super noob spread indicator v0.1

Hi guys,

as you see this is my first post. I have been reading this forum for a month and the hard work I have seen here made me decided to learn MQL4 to test some crazy strategys I have in mind and eventually do some EAs to blow up accounts eficiently.

Im a chemical engineer student so I have some experience programing in C++ and mathlab lenguage. This said I have to admit something... I love spaghetti, and not only for lunch, I like the poker face that people make when they try to understand some spaghetti program Ive just made.

Well, thougth the spaghetti fetiche was a joke thats the isue here. If I want to contribuite in this forum and do some funtional EA for myself I need to learn MQL4 without bad habits.

So this is the very first program I have made whit this lenguaje. I will appreciate some advice about the code, optimization, structure, and anything usefull to build up my MQL4 programing skills without bad habits.

By de way, if you have not noticed yet Im not a english native so do not crucify me for the grammar :lol:

The program Ive made is and spread indicator. Shows the current spread, average spread of the sesion, max, min, and variation.

I want to add some extern file sistem to save spread data to calculate a historical average spread and maybe some average historical distribution spread along the day.

I have made it basically to compare brokers. I have been searching for a broker with low spreads for a scalping strategy I am making and my historical broker, alpari uk, have to much spread to make the scalping feasible.
image4.jpg
spread_v0.1.mq4
Best regards.
Author:  milanese [ Wed Feb 19, 2014 1:20 am ]
Post subject:  Super noob spread indicator v0.1

Hello and welcome here :hi:

Thank you very much for contributing here :good:
I am sure this indicator will be for a lot of users usefull.

Cheers :)

Tommaso
Author:  Jemook [ Wed Feb 19, 2014 1:48 am ]
Post subject:  Super noob spread indicator v0.1

Nice indicator. Good luck with your search for a broker with low spreads - This page will help you:

http://www.myfxbook.com/forex-broker-spreads

You can even drill down to individual pairs and get some great understanding of how market events affect spreads:

http://www.myfxbook.com/forex-broker-sp ... ead/1065,1

Cheers,
Jeremy
Author:  putusernamehere [ Thu Feb 20, 2014 8:19 pm ]
Post subject:  Super noob spread indicator v0.1

Thank you very much appreciated :hi: it works :good:
cheers Gunter :good:
Author:  SteveHopwood [ Thu Feb 20, 2014 11:17 pm ]
Post subject:  Super noob spread indicator v0.1

Now, if you want low spreads combined with a genuine broker (i.e. not a market maker wanting to screw you out of every cent you ever earned) then go up two posts from here and follow the links to Global Prime Or follow the link in my sig; either will do.

:xm:
All times are UTC Page 1 of 1