Scalp Tool and Heads Up Display (HUD)

Post Reply
AnotherBrian

Scalp Tool and Heads Up Display (HUD)

Post by AnotherBrian »

Scalping Tool and Heads Up Display (HUD) - I decided to share this with SHF community, hope you find it useful.

Others may want to use code from here for the talking alerts.... read on.

This is a scalping tool I developed and use to take some pips out of the market. Using some code from other projects as well as my own ingenuity, I added all the bits and pieces I felt necessary to take part in some scalping activities.

Generally, you drag a script onto the chart to enter a market or pending trade. Watch the display on the chart, it tells you a bunch of things (picture below). The are scripts that monitor profit for all magics for profit exists, etx. There's a script to place stops on all orders. There's a script to make all the stops the same.

Here are the scripts.
2014-10-25_104319.png
Here are the features;

-Tick Sound - makes a pop sound with the pace of the market. I didn't invent this, borrowed code. If you put this indicator on multiple charts you'll hear the tick sound for only the chart you are viewing.

-Magic Number - currently uses 77. All the scripts and the indicator itself only focuses on magic number 77. Each pair is treated separate.

-Alert Lines - uses code borrowed from another coder. When the alert line(s) are crossed it will SMS, email, sound, or talk to you. Talk, what? Yes, it uses Google to do a text to speech translation. Sounds amazing!

I actually have an FM transmitter on my PC so I can listen to music anywhere in the house. So I'll be outside drinking beers in the sun and over the radio (my radio station) I'll hear "price at lower alert line". I go inside and make the trade!

Here is what it looks like.
ScalpHUD.png
2014-10-20_233601.png
I'm not going to spend much time describing where to put these files apart from the descriptions below. The sound files (used for the tick sound) will be the most tricky. You may need to right click and "Unblock" each file once it's in the folder. Open Empty4 - File - Open Data Folder. Go to MQL4 and you'll see the directories you need.

AB_SCALP_HUD - indicators folder

Talker.ex4 - Libraries folder - this gets the voice from Google. It's safe, I wrote the code.

#xxxxx - any file that starts with "#" is a script. When you download this in a zipfile the "#" symbols should remain, otherwise you might get %20 or something at the beginning of the file. It will still work OK.

Sound files - these are wav files that produce the tick sound, put these in C:\Program Files\Empty4 installation\Sounds This works for me on Win7, and note that this is NOT the directory that opens with "Open Data Folder"

#Tick Chart- indicator

If you want to know what the voice sounds on, click this and Google will give you a special message. To change the words, just go to the link in your browser and change the text after q="

Here's a link that will say "test"

Code: Select all

http://translate.google.com/translate_tts?tl=en&q="test"
And here is a short video - the video isn't exactly the same as the code attached to this post, but you'll get the idea. Coders can use the library to make Empty4 say whatever you want.

[youtube]http://www.youtube.com/watch?v=JaZhftSkxYw[/youtube]

Have fun !

:good:
You do not have the required permissions to view the files attached to this post.
Last edited by AnotherBrian on Sat Dec 12, 2015 3:38 am, edited 6 times in total.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Scalp Tool and HUD

Post by mobthehop »

the voice stuff is cool - thanks for sharing....
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

Scalp Tool and HUD

Post by dudest »

Really cool stuff, thanks Brian!
AnotherBrian

Scalp Tool and HUD

Post by AnotherBrian »

I'm not sure what else this can be used for, any ideas?

I use MediaMonkey to play my mp3's on my radio station, and Google announces each song before it is faded in. Great free service!
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.

Scalp Tool and HUD

Post by SteveHopwood »

AnotherBrian » Tue Oct 21, 2014 6:09 pm wrote:I'm not sure what else this can be used for, any ideas?
Me neither but at the least it could be fun to play with. I will include it in my wrup on Sunday then others can play with it as well. Who knows? There are some really ingenious people around here.

: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.
User avatar
themaxx
Trader
Posts: 71
Joined: Thu May 24, 2012 9:57 am

Scalp Tool and HUD

Post by themaxx »

Thanks for this Brian, I really appreciate you sharing your code. I couldn't see any alert line scripts in the zip - am I missing something?

Pete
AnotherBrian

Scalp Tool and HUD

Post by AnotherBrian »

The alert lines should be drawn automatically when you drop the HUD indicator on the chart.
User avatar
themaxx
Trader
Posts: 71
Joined: Thu May 24, 2012 9:57 am

Scalp Tool and HUD

Post by themaxx »

Thanks!
Post Reply

Return to “Utilities”