- Search Metals Mine
- zznbrm replied Oct 4, 2011
Well, that is not my opinion at all - mql most certainly handles digits greater than 4. I do not think you are paying close enough attention to what you are doing. Look at your call to the Comment() function - if you want 5-digits to be displayed, ...
MQ4 read out to 5th digit
- zznbrm replied Oct 4, 2011
Create a script with something similiar to below. Play around with the NormalizeDouble and DoubleToStr functions and you will get a better understanding of how they work. #property show_inputs extern double stop = 1.32355; int start() { double SL = ...
MQ4 read out to 5th digit
- zznbrm replied Sep 26, 2011
Well...all I can say is that my MBTrading version of MT4 does not operate as you describe. From MBTrading web site: We currently employ the following behavior for Stop Loss (S/L) and Take Profit (T/P) items. If you have only a S/L, the bridge ...
MB Trading Futures - Introduction
- zznbrm replied Sep 26, 2011
Heiken Ashi — An alternate version of the Separate Window Heiken Ashi. This version has an option to display the cross price. The cross price is the price where the Heiken Ashi will change color. In the example below, the arrow (1.34933) ...
Assorted Indicators/Scripts
- zznbrm replied Sep 25, 2011
This is the calculation used by everyone on this thread to create basket charts. See the basket chart indicator posted multiple times on this thread. This script uses the current tick data from your broker. If you are not receiving live ticks (ie, ...
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 22, 2011
Ok guys. I hesitate to post my offline basket generator. I hesitate because I do things a little different from everyone else. You see, since I started trading live about 1.5 years ago with offline charts (I use Range Bars), I have found it to be ...
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 21, 2011
Just a suggestion... Instead of creating the offline basket charts using the sum of all symbol prices, it might be more meaningful to use the basket "value" in dollars. In this way the basket chart value actually represents something useful. For ...
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 16, 2011
You might find it more convenient to update all instances of the same offline chart directly from your offline chart generator. Here is a script that shows one way of doing this:
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 15, 2011
MarketInfo( Symbol(), MODE_SPREAD ) * MarketInfo( Symbol(), MODE_TICKVALUE );
Spread / Money Value
- zznbrm replied Sep 12, 2011
Well...automatically starting an EA and script at MT4 startup is a little different situation than simply having an EA call a script. Yep, that's the way you do it. You must have something wrong with your configuration file and/or your startup ...
Can an EA automatically start a script?
- zznbrm replied Sep 11, 2011
That would be an option if he wanted to call an indicator from the EA. But the question concerned a script, not an indicator.
Can an EA automatically start a script?
- zznbrm replied Sep 11, 2011
I'm assuming you are talking about an MT4 script. I do not know how to do that. It would not surprise me to hear that someone has figured out a way to do it. However, why mess with a script at all? Is there a reason why you can't simply copy the ...
Can an EA automatically start a script?
- zznbrm replied Sep 9, 2011
khizer - I say keep doing what you are doing. You are better off in your own thread anyhow...that is one helluva ego on the other thread.
Stairstep Breakouts Latest Opportunities
- zznbrm replied Sep 8, 2011
JPY is the most important currency for this basket. Get the direction/strength of JPY correct and you have a good chance of a profitable basket.
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 8, 2011
See attached spreadsheet. Uses DDE for live data.
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 8, 2011
Yep, that's the general idea. These basket systems all boil down to one thing - betting that certain currencies will outperform others. With this T101 14-pair basket, you are clearly betting heavy on the JPY. For example, if you buy 1 lot of each of ...
T101 Basket Trader with ONE of Nanningbob's Balls
- zznbrm replied Sep 1, 2011
In that situation where you have multiple EAs trading the same symbol on the same account, you would use some other mechanism (i.e. Magic Number) within each EA to determine the submitter of the order.
Make EA get custom magic number...will this work?
- zznbrm replied Sep 1, 2011
Use the bar's open/close for the HA open/close of the first bar...then all subsequent bars will feed off of that. From my testing, using 10 or less bars in your calculation leads to some errors. Using 20 bars pretty much guarantees accuracy. Here's ...
Heikin-Ashi. How to calculate the first Candle?
- zznbrm replied Sep 1, 2011
Instead of having a unique Magic Number for each trade, why not simply use the Ticket Number?
Make EA get custom magic number...will this work?
- zznbrm replied Sep 1, 2011
Not if you are using a chart-specific function like "Symbol()" and a chart-specific property like "Digits" in your lot calculation.
Code to work out lot size based on risk