Forum

FileReadDouble not working from CSV file

Hi, Is this even possible or am I doomed to reading them by FileReadString ? If it should be working then please look at my little test-code for this purpose below: string FileName = "Readfromfile.csv"; double FileDouble; int LastMinute; int cnt; int Handle; int init () { return(0); } int deinit ()

Have anyone managed to make a continiously profitable ea?

With all people in this forum, and especially those who has been around for a while. Is here anyone or do you know of anyone (for certain, not just what they are saying) that has managed to create an EA profitable enough for them to put on a live account and make some serious dough? A continious

iBarShift trouble

Why do: int bars = iBarShift( Symbol (), 0 ,iTime( Symbol (), PERIOD_MN1 , 24 )); AND int bars = iBarShift( Symbol (), 0 ,iTime( Symbol (), PERIOD_MN1 , 3 )); BOTH return bars = 1000??? (On Daily chart in tester) If i change period to PERIOD_W1 the return is still 1000. I have tried to execute it on

OrderModify - Error 1 (ERR_NO_RESULT)

Hi, This function is sporadicaly returning OrderModify Error 1. Any ideas? I'd be most thankful! void ManageOrders() { double open, stop; if ( OrdersTotal () != 0 ) { for ( int x= OrdersTotal ()- 1 ; x>= 0 ; x--) { OrderSelect (x,SELECT_BY_POS,MODE_TRADES);

Visual mode needed for ObjectGet in backtester?

Hi, If using ObjectGet in my EA will it not be able to run in non-visual mode? My current project just wont optimize, it freezes, and this seem to be the only logical explanation I can find. Thanks in advance / McKeen

Am I on to something? (senior advice needed on my equity curve)

Hi, Not bragging, not selling, I just want an experienced opinion in whether theese results could be something or if it's nothing because of the extended period of time. Initial balance: 10000, Flat 0.1 lot, 650 trades, H1-based, testperiod 4,5 years, drawdown 11%, end balance 18500$. 52,72 Winners

ObjectGet - FiboRetracement X / Y values

Hi, I am trying to get my EA to read the x / y values from a manually drawn Fibo-retracement. I have searched and read the ObjProperties and the closest I seem to get is the OBJPROP_FIRSTLEVEL+n, however that only seems to return the price-level of the fibo. I would like to read the Time/Price of X

Drawing lines that have an end (instead of OBJ_TREND)

Hi, I know it can be done and I have read all the object-types over and over again with no success. What object-type is to be used if i want to draw a line with a beginning AND an end on-screen? Thanks alot in advance for any help. / McKeen

Any ideas on placement of text-label according to where chart candles are?

Hi, If anyone have an idea on how to identify for example: The screen (showing for example 80 bars, using the same zoom-level all of the time) is showing a candlestick chart in a downtrend resulting in the top-left quarter of the screen being blurred by underlaying candles. (Chart-foreground setting