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.
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.
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"[youtube]http://www.youtube.com/watch?v=JaZhftSkxYw[/youtube]
Have fun !