Codes

Fibonacci for visual and coding use for MetaTrader 4

Whether you use Fibonacci for visual trading or for automated trading, this Fibonacci will handle it. Works across multiple timeframes and pairs

Doji Hunter for MetaTrader 4

This indicator is a spin off of the Doji Reader 2 found in the code base. I have made several changes such as it is now capable of being used in code for coding use, not just as a visual indicator. I also took out several un-needed code that was redunda

HML Family for MetaTrader 4

Get the High Median and Low values of each timeframe, use them all or one at a time, pick a specific one it is up to you and your needs. The family of indicators will be here for your use

HML Rainbow for MetaTrader 4

The High, Median, Low of every timeframe in MT4, 24 lines of varying colors, showing the highs lows and median based on price behaviors

Bollinger Bandwidth 1.0 for MetaTrader 5 for MetaTrader 5

The indicator Measures the distance between the Bollinger Bands ® and providing it as a singular indicator, using the MetaTrader 5 techniques to simplify Bollinger calculations

Bollinger Bandwidth 2 for MetaTrader 4

This tool combines the original Bands with Bollinger Bandwidth and removes the extra window for Bollinger Bandwidth. Instead Bandwidth is now a value in the comment in the top left corner. This makes more efficient use of the chart space and still allow

Bollinger Bandwidth for MetaTrader 4

An investigation of the Bollinger band has shown that when the bandwidth (distance between the top and bottom bands) is below 4, the market is compressed and about to break out. When the bandwidth reaches 11, there is a strong wave for scalp trading. Be

Forum

How to get price from Fibo (OBJ_FIBO)

I am not being lazy here, I have done several searches on this. I have posted another thread Fibo Mania trying to resolve this issue. I need to get the prices on the fibo lines. Now there have only been a handful of people working with code or putting code on this forum that covers fibo. So the

sorting 2 dimensional array by second dimension

I have 2 pieces of data that I need to put into an array, then sort it. First I split the orders into two arrays the first array is for buys the other is for sells. When I do so, I am collecting the OrderTicket so later I can perform an execution on the order. The second thing I am collecting is the

Price Per pip

This is driving me nuts, I have been looking for months now for an existing algorythem that does nothing more than calculate the Price Per Pip, regardless of the pair it is on. I have found 2 really good money management strategies that are both dependent upon this value as a way to precalculate

I need a good history file for EURUSd

do you have a good history file I can use in my back testing? For some reason what I have keeps getting corrupted. I try to download new history but it always says it up to date, but then I get screwed up results. I just need a history file I can dump when needed. My email

Can you programmatically change the value of #property indicator_maximum?

I would like to be able to change the value of this property value #property indicator_maximum , in the program. Is it possible? If not, is there another way to dynamically change the window maximum? What I am trying to do: I have an indicator that I drop on multiple charts. This indicator shows the

Firing trades before EA fully loaded

In my EA, I have it set to trade on every new candle. With the trade methods behind the time checker , I would think that it would not fire any trades until the EA is fully loaded. So when it is closed and I open it, before it has even completed all of the display of indicators and before it has

Are you new and looking for someone to code?

So many times out there new folks come along and want to have someone build an EA for them or an indicator. You can pay top dollar for good coding or for bad coding. You can also pay cheap dollar for good coding or bad coding. The difference is going to be in you and how well you pay attention to

Giving Back: Snapshot your close for troubleshooting

I have been getting a lot of help in the past, so I would like to give some back. I am going to post a series of tools that may help you with your coding as you have helped me. This one uses the snapshot feature to help you troubleshoot trade opening and closures. There are a few samples around

Giving Back: Hour To Trade

This one allows you to give your user a choice on what hours to trade. Now it will be different based on the users broker server time , but I am sure you can work something out. // Externs: extern bool Hour0 = true ; extern bool Hour1 = true ; extern bool Hour2 = true ;

Know when a trade closes

I know I have asked this before, but I could not find it in my past threads. I also did a search for something like it and could not find a reference. I know that I need to basically do a command where I do something like the following: int CntClosed = 0 ; for ( int i = 0 ; i <=