Super noob spread indicator v0.1

Post Reply
petaisim
Posts: 1
Joined: Wed Feb 05, 2014 9:46 pm

Super noob spread indicator v0.1

Post by petaisim »

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.
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Super noob spread indicator v0.1

Post by milanese »

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
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
User avatar
Jemook
Trader
Posts: 1085
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Super noob spread indicator v0.1

Post by Jemook »

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
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
User avatar
putusernamehere
Trader
Posts: 107
Joined: Fri Nov 15, 2013 8:56 pm

Super noob spread indicator v0.1

Post by putusernamehere »

Thank you very much appreciated :hi: it works :good:
cheers Gunter :good:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Super noob spread indicator v0.1

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Post Reply

Return to “Coders Hangout”