@phil – what does it say in the upper left underneath the pair and timeframe? Does it say “init” it does it say something else? If the EA loads properly then a support and resistance line should be drawn automatically for you, which you then can move around (just make sure support is on the bottom and resistance is on the top!)
@pp22 – when you load the Expert Advisor look under the “Experts” tab of your “terminal” window at the bottom (in the same row as “Trade,” “Account History,” etc). If there is an error such as invalid API key or username it should show up there.
I’m putting together a quick video that shows how to load the expert, though I lost my voice last week so it is slow going :/
Looks like your computer is missing some standard DLL files that enable the EA. To confirm that your problem is missing system DLLs, check inside your “system32” folder, which is usually at the path “c:\windows\system32\” and see if the following four files are there:
msvcr71.dll < - this is the key file and on many systems the EA will work with just this one installed.
64-bit OS: If you are running a 64 bit version of windows, also check inside your “\Windows\SysWOW64\” folder for the files.
Solution: Download and install the Microsoft .NET 1.1 Framework. There are a variety of sites that will allow you to download just the 4 DLL files mentioned above, but the safest way is to get them directly from Microsoft.
After install the needed DLL files should now be in your “\windows\system32\” folder. If you are running a 64-bit version of windows you may also need to copy those DLL files from the “system32” folder into your “\Windows\SysWOW64\” folder.
I installed the files on a different computer using the same Oanda mt4 and it works fine, I see the s and r lines as soon as I load it and it says init in the top left corner. I will figure out why it wont work on my primary pc and post back with results
Ok, by default MT4 installs with a read-only “libraries” folder, so it is also possible that the file appears to copy in there just fine, but then when Oanda starts up it removes the http51.dll file, so it is worth checking that the http51.dll file is still in the libraries folder after Oanda starts. If it is not then you might need to change the folder to give yourself write permission.
Its fixed now, thanks to you mark. It looks like a windows 7 issue cause it worked fine on XP. My windows 7 was missing the MSVCR71.dll file, the other 3 files you mention were all there. I downlaoded the file and copied it to my c:\windows\system32 then reopened mt4 it works fine now.
I just tried installing on a fresh XP install and I’m still missing msvcr71.dll and getting error 126. I didn’t check to see if it was there before installing metatrader-Oanda unfortunately. Is there a workaround besides downloading the .dll file from a 3rd party (I really, really don’t want to do that)
So after installing from that microsoft link you sent me, all the .dll files are in system32, but the error 126 still persists. Perhaps it is because of the read only permissions you mentioned earlier, I don’t know how to change the folder from read only. I click the read only box in properties, but when I look at properties again, the box is filled again. Regardless, I’m not going to mess with it anymore because it worked perfectly after I installed Metatrader in Ubuntu via wine… I know WTF right? It won’t work in native windows (7 nor XP) but works flawlessly on the first try in a non-native environment. Go figure.
Very strange. If you are interested in messing with it in the future, here are the steps I would follow:
1) If DLLS are installed, restart computer
2) make sure MT4 is closed
3) unlock your experts folder (and subfolders) by changing the permissions it should be right click the folder > properties > security > select users > edit permissions > full control > ok.
4) Re-install EA.
5) Start up MT4. After starting make sure EA is in experts folder and http51.dll is in libraries folder (if they are not there is still a permissions issue, start at step 2 again).
Looks like I’m the only one still having issues with the setup. I’ve been running the EA for about 2 weeks now and it has placed only 1 order, about 10-11 days ago. I’m with FXPro, and have entered my User Name/API Key in EA config, as well as checked/unchecked all the relevant checkboxes as shown in the EA setup manual (PDF). But looks like its still not trading. The current EURUSD price is 1.34075
Any ideas ? I don’t see any errors in the Experts/Journal in Metatrader and I’m running it on a 4H chart. The smiley is being shown as well. Not sure what else I’m missing. Any pointers ?
Best to start low and move up. Slippage is defined as the difference in pips between the order price and the execution price for a particular transaction. There is positive slippage (better price than requested) and negative slippage (worse price than requested). By changing the slippage value in the Expert Advisor you are just telling your broker what the maximum amount of slippage you will tolerate is. Theoretically you could set slippage to 1000 and, if your broker has access to great liquidity, you could get the exact price every single time. In reality though, different brokers have access to different banks with different levels of liquidity and that liquidity is known to thin during event risk, causing slippage.
Sorry for the long explanation but I just want to give you as much info as possible so you can intelligently manipulate it.
No apologies needed. I really appreciate you giving the insight. Thanks. I’ll start with a small number and move up, as you said and see how it goes. Just one last question – do you guys use a broker with 5 decimal digits too ? If yes, what is your slippage value ?
Yes, we use a 5 digit broker and our slippage is currently set to “3” but keep in mind slippage varies from broker to broker. The larger the broker generally the better access to liquidity they have and the lower the slippage.
Not sure why, but it still doesn’t place any orders. I’m seeing 2 orders for today in PipHut’s Live Trade Monitor section, but I don’t see those 2 trades in my metatrader platform. I do have both charts open and have attached the EA with the User Name, API Key, Slippage parameters set. In fact, I’ve been using slippage value as “10”, but it still doesn’t seem to place any orders. Anyone else having this issue or am I the only chosen one ?
Hi Parry – just to make sure, are you drawing the S/R lines using the support and resistance lines that the EA puts on the chart? You have to use the S/R lines that the Expert provides due to the fact that the EA looks for S/R with a certain name. The resistance is named “Upper Alert” and the support is named “Lower Alert” (if you mouse over the S/R it will tell you the name).
Beta version 0.92 is now available for download! Some of the changes:
Bug that closed out resistance break longs and opened a short (seemed to only be noticeable on Oanda). Thanks @Geoff
Added ability to get long on a support pierce (false break) or short on a resistance pierce
Other minor code tweaks for stability
Viewing 34 posts - 1 through 34 (of 34 total)
You must be logged in to reply to this topic.
LEGAL DISCLAIMER AND RISK WARNING
Foreign currency exchange trading is highly speculative and is suitable only for those who (a) understand and are willing to assume the risks involved, and (b) are financially able to assume significant economic losses. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. Trading on margin can amplify both gains and losses in your account. Before deciding to trade foreign currencies, you should carefully consider your investment objectives, level of experience, and risk appetite. You should be aware of all the risks associated with foreign currency exchange trading and seek advice from an independent financial advisor if you have any doubts.
All contents or information displayed or contained on Piphut.com are based on a number of assumptions which may not be fully disclosed or explained. Hypothetical trading or performance has many inherent limitations, including the benefit of hindsight and the fact hypothetical trading or performance involves no economic risk. Variables such as the ability to adhere to a particular trading program despite trading losses and maintaining adequate liquidity are material considerations that can adversely affect actual trading results. No representation or warranty is being made or given that any account will or is likely to achieve profits or losses similar to those displayed on Piphut.com. There are frequently substantial differences between hypothetical performance and the actual performance subsequently achieved by a trading program. You must exercise independent judgment when making investment or trading decisions. Past performance is not indicative of future results. Please read the User Agreement and Risk Disclosure Statement for more information.