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
Hi, This function is sporadicaly returning OrderModify Error 1. Any ideas? I'd be most thankful! void ManageOrders() { double open, stop; if ( OrdersTotal () != 0 ) {
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
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
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
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
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
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
Hi, Suppose I am calling a function which will need 3 variables already defined in the start-function. Is there any reason for using theese variables when calling the function to replace them with function-defined variables? For example, I have
Hi, I am using this switch in my initialization function to set currency quotes for automatic lot-size calculation. Unfortunately it always returns 1.01 as in case #7. What is wrong here? --- int init() { string BaseCurrency =
Hi dear community, If someone could explain how this can be I would be very thankful. I fear not to be believed so I will post a video showing the exact problem if neccessary. I am using one include-file and also painting 1 new Fib-retracement + 1
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;