Codes

Price Distribution for MetaTrader 4

Numeric representation of how many times each price occurred during a given period, Use on a 1 min chart, enter number of hours and minutes you want to look back. Useful in determining actual support and resistance levels

Hedge Script for MetaTrader 4

Creates a synthetic Hedge for any open position that you select. Use it only if are you completely understand synthetic derivatives or triangular arbitrage

Forum

Pulling Worldwide Stock index data into an EA

I am trying to write a Time Sensitive EA that uses the worldwide Stock market indexes to help determine the direction of a given currency pair . The Idea is to follow Different indexes at different times of the day. For Example: During NY Market hours use data from DJ and NASDAQ, but during the

Array question ?

I have 5 Arrays.... USD[n],EUR[n],JPY[n],GBP[n],CHF[n]; Each is value is standardized to a value between 100 and -100 What i want to get is the Max and MIN value for [n] across all 5 arrays. for example: n = 12 USD[12] = 95 EUR[12] = 80 JPY[12] = 25 GBP[12] = 12 CHF[12] = 20 How do I Get the max/min

Correlation Indicator

Does anyone have a good correlation indicator or EA that calculates the correlation or inverse correlation of two or more currency pairs ? I have seen one floating around before but cannot find it. What I am really looking for an an index correlation. For example all USD pairs vs all EUR pairs - the

DateTime Question

I am trying to convert two string values to a datetime value but I cant get it right can anyone help... My two string values are: string aDate = eDate[n]; string aTime = eTime[n]; Wnat I need is datetime aDateTime[n] = StrToTime(eDate[n]+eTime[n]); just does not seem to work any suggestions

TSD calender Trader

Its been a while since I have been over here to TSD I noticed a new calender pretty cool.... Anyone here have a MT4 template that pulls the calender data into an EA. I have a pretty good EA that uses the calender from another site but the site goes down frequently. Basically all I need is something

Identifying Weekly bank transactions

In addition to the news, large bank transactions cause spikes in currencys. It is my uderstanding that many of these banks ( according to a friend at B of A ) make weekly transfers at a regulary scheduled time. What I am trying to do is identify these times before they happen and adjust my EA

GAP Trader

Here is a little contribution to this site... Its called the Gap Trader. It basically takes 1 position per week based on the Gap between The market Close price on Friday and the Open price on Sunday. Allot of the time the GAP will refill.... Hence Profit from this system. Test it out works best when

EA Time function

Can anyone help with this..... I am trying to calculate the the % growth for the day. The problem is I cannot seem to set the begining balance variable. Here is what I tried double DailystartBal; int CurrentTime = TimeCurrent(); if (CurrentTime == StartHour) { //Start hour = 17 DailystartBal =

Huge differences in backtesting

Why is this ? I ran the exact same test with two different brokers, both using the same data, same spread, leverage, starting balance ect. What is causing the test to be different? Also in live testing the results are oppisite. Velocity is performing better than IBFX. Does IBFX manipulate there

Strategy Runner

Does anyone here have any expirence with the Strategy Runner Platform ? I am only interested in scalping, 20 - 30 pips a day