Forum

VPS won't connect

Good morning, I've created 2 very basic RSI driven EAs that run fine when just running off my computer. Today I rented a VPS to try run it virtually. I constantly get this error when trying to sync. Is there any specific line of code that one needs to add in order to make an EA compatible with VPS

Is Virtual Hosting worth it?

Hi Guys, My EA that I am currently running has a tight SL. My SL is set at 2 pips. I have compared actual trades to the strategy tester during the same period and the results are a little different. The average SL for the strategy tester is $1.80 (when the spread is high) and the average actual

Volatility Entry Signal

Hi guys, I would like to hear your thoughts on this. I have spent a few months developing my EA that seeks out momentum and tries to capitalize on it while having enough downside protection to be profitable. My EA has 9 entry conditions and is currently profitable , however I feel that I am missing

Oanda-v20 History

Hi Guys, Does anyone have an Oanda-v20 live account that has been running EURUSD for more than 6 months on MT4, and are willing to share their history file with me on google drive? I have been running mine since 1 December and the backtesting data is great from then on, but not so reliable before

ModifyOrder Error 4051 & 4108

Hi Guys, I'm trying to add to my code that once price has reached exactly halfway between my entry point and TP, then SL will move to where the entry position was, to add some downside protection on my code. I looked around to find a basic trending SL for a starting point for me to work from but I

Trend following EA

Hi Guys, My EA that I created is based on momentum and works extremely well when there is either an upward or downward trend . Not so much when markets are trading relatively flat. I need a way to counter this and the idea I have is to simply add a minimum mandatory difference between a 7 period MA

Only have one trade open per currency pair at a time

Hi Guys, I am trying to add some code to my EA so that it only has one trade open per currency pair at a time. I found this code online and tried it but I'm now getting the following errors: Could anyone possibly give me advice on how to resolve this issue? void OnTick () { int

Quick moving average question

Hi Guys, I'm having trouble with one of my sell signals . The buy signal works perfect but when I turn it around for a sell signal it gives me a False statement the whole time. double MA1L15 = iMA ( NULL , 15 , 7 , 0 , MODE_SMA , PRICE_OPEN , 0 ); double MA2L15 = iMA ( NULL , 15 , 21 , 0 , MODE_SMA

Code won't execute sell orders

Hi Guys, This is probably a simple question but I've converted my code to run short trades too but for some reason it won't execute any short orders. Could someone please help? I am sure that the short order is just in a wrong place? The code is written specifically for EUR/USD Any help will be

Extremely Profitable EA

Hi Guys, I have been working on this EA for a while and it is extremely profitable if you run the strategy tester on daily or H1 timeframes... however on M1 it goes bankrupt. The basic strategy is: after 5 consecutive positive ticks, enter a long with TP of 3 and SL of 10. With lotsize increasing as