Welcome to our new forums! You can still access the old forums (in read-only mode!) here.

Free Forex Signals Forums Support SwingPRO Expert Advisor Support

This topic contains 33 replies, has 4 voices, and was last updated by Profile photo of PipHut Team PipHut Team 3 years, 4 months ago.

Viewing 34 posts - 1 through 34 (of 34 total)
  • Author
    Posts
  • #25891
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    Do NOT post any personal information here, such as your account information!

    This is the official thread for SwingPRO support questions! When asking a question or reporting a bug, please include:

    1. A description of your support request
    2. Your broker’s name (e.g. “FXCM”)
    3. The current EURUSD price in your platform (e.g. 1.35700 – include zeros) – this is to help us determine if you are using a 4,5, or 6 digit broker)

    Thanks,

    PipHut Team

    #25947
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    If you get an OrderSend failed error 136 that usually means your broker wasn’t able to execute your order within your set slippage parameters. Try increasing your slippage rate to 3.

    #25966
    Profile photo of Phil
    Phil
    Member

    I got a smiley face but so far no lines have been drawn, how do I know if its working?
    Im with Oanda.ca and current price is 1.35269

    #25967
    Profile photo of Phil
    Phil
    Member

    Oh I think I just realized that I have to draw my own s and r lines. I assume it will automatically adjust entries after each candle close for the new levels?

    #25968
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    @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!)

    #25973
    Profile photo of Phil
    Phil
    Member

    It doesnt say anything but on the right side it say swingpro beta with a smiley face

    #25981
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    @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 :/

    #25982
    Profile photo of Phil
    Phil
    Member

    Ahh yes I get an error saying cannot load library http51.dll error 126

    #25983
    Profile photo of David
    dunderchief
    Member

    I am getting that same error Phil. Oanda, EUR/USD: 1.34949

    #25984
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    @pp22 and @dunderchief – just to make sure, can you make sure the the http51.dll file is in your “libraries” folder, inside of the “experts” folder?

    Thanks

    #25985
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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:

    • ole32.dll
    • oleaut32.dll
    • msvcr71.dll < - this is the key file and on many systems the EA will work with just this one installed.
    • kernel32.dll

    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.

    #25986
    Profile photo of Phil
    Phil
    Member

    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

    #25987
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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.

    #25988
    Profile photo of Phil
    Phil
    Member

    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.

    You da man mark!

    #25989
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    Glad it worked phil!

    @dunderchief – can you make sure the four files I referenced above are in your “system32” folder?

    #25990
    Profile photo of Phil
    Phil
    Member

    Now how to draw s and r lines like you do…

    #25997
    Profile photo of David
    dunderchief
    Member

    I won’t be able to check until later tonight ~7:00pm CST. The .dll file is in the libraries folder though.

    #26001
    Profile photo of David
    dunderchief
    Member

    My system32 folder is missing msvcr71.dll. The rest of the files are present.

    #26002
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    @pp22 – where did you download the MSVCR71.dll file from?

    @all – we will be adding the ability to control lot size this weekend.

    #26003
    Profile photo of David
    dunderchief
    Member

    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)

    #26005
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    @dunderchief – the MSVCR71.dll file should be included in the .NET 1.1 runtime library, which can be downloaded from Microsoft here:
    http://www.microsoft.com/en-us/download/details.aspx?id=26

    #26012
    Profile photo of Phil
    Phil
    Member

    I got the file from this website

    http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71

    Seems to be ok, I didnt get any bad files from here but download at your own risk.

    #26013
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    Thanks phil – I’ve downloaded files from that site before without problem, but I agree, download at your own risk.

    Downloading the Microsoft Redistribution I linked to above is the safer way to go. You’ll get more than just the DLL, but you’ll be getting it from the people who make your OS.

    #26014
    Profile photo of David
    dunderchief
    Member

    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.

    #26016
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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).

    I’m glad you got it to work in Ubuntu though!

    #26221
    Profile photo of Parry
    Parry
    Member

    Hi,

    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 ?

    #26222
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    Hi Parry, what are you using for a slippage value? For a few brokers I’ve tested it had to be increased to double-digits.

    #26223
    Profile photo of Parry
    Parry
    Member

    I’m using the default value of “1”. Do you think I should change it to “3” ? Or should I change it to “30” ? The broker that I use (FxPro) has 5 digits after the decimal for EURUSD.

    #26224
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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.

    #26225
    Profile photo of Parry
    Parry
    Member

    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 ?

    #26226
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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.

    #26991
    Profile photo of Parry
    Parry
    Member

    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 ?

    #26995
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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).

    #27209
    Profile photo of PipHut Team
    PipHut Team
    Keymaster

    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.