sunshineh
sunshineh
sunshineh
Added topic ERR_CANNOT_OPEN_FILE Error 4103
Hi, what do I have to change, if I get the ERR_CANNOT_OPEN_FILE Error, when I want to open a csv-File in the C:\Program Files\MetaTrader - Alpari_Demo\experts\files - folder?? Thank you
sunshineh
Added topic password protection for my EA
Hi, I have an very good EA and want to sell ist. What possibilities for password protection do I have with the metatrader 4? Are there any functions on that plattform, so that the metatrader tells me online who uses my EA? Thank you very much for
sunshineh
Added topic How to calculate the gradient (slope) of a line
Hi, I want to write an EA which works with the gradient (slope) of the EMA-Indicator. How can I do that? Do you have any examples? Thank you, sunshineh
sunshineh
Added topic Error 1 and I don't know why
Hi, I want to change the TakeProfit of an existing order. But I am getting always the "OrderModify error 1" Here is a part of my code:    for ( int i = 0 ; i < = OrdersTotal ( ) ; i + + )      {
sunshineh
Added topic datetime value
Hi, I want to write the actual data and the time extern int starthour = 8; extern int startminute = 0; in my variable datetime starttime= 0; How can I write this
sunshineh
Added topic Buy only at a close price
Hi, I want to write an EA which only opens an new order at the close price of the candle. How can I do it
sunshineh
Added topic Again OrderModify Error 130 and sometimes 1
Hi, I can't understand, what I am doing wrong! First I send an order without TP and SL. After that I use this function: void Order_modify ( )    {    double spread = Ask - Bid ;       for ( int i = 0 ; i < =
sunshineh
Added topic Differenz between OP_BuyStop und OP_BuyLimit
Hello, sorry for that silly question, but can somebody explain me the difference between an OP_BuyStop- and an OP_BuyLimit-Order. Thank you very much
sunshineh
Added topic Open the new order only at the close price
Hi, I want to programm an EA, which only open a new order when the close price of the candle matches my requirements. How can I programm it, that the EA has only to look at the close time of the actual candle or at the start time from the following
sunshineh
Added topic Working with CSV-Files --I am going crazy
Hi, I am writing an EA which is working with CSV-Files. For testing I put my CSV Files in the following folder: /tester/files Here is only a small part from my EA: [CODE] int handle = 0; int Long = 0; handle=FileOpen("LongMarket.csv"
sunshineh
Added topic AccountEquity() as indicator?
Hello, it is very important for my to see my AccountEquity over the chart for my EA like an indikator. So I can see how my money is working on which time of the underlying. If it is better when the underlying goes up or goes down... So I testet to
sunshineh
Added topic Trend indicator , how to programm when I see the changes only in the color
Hi, I want to use an trend indicator. But I see the change from buy to sell only in the color of the indikator. When I use the iCustom function in my metatrader I get only the value of the indikator back. How can I see in my mq4 programm with the
sunshineh
Added topic Pending Orders, which is reached (open, not closed) and which is still a LimitOrder
Hi, I want to write my own EA. First I send a SellLimit and a BuyLimit. Then I want to see, which Orders of them are reached. How can I see which order is still open?? When I look at OrdersTotal() is get my OPEN and PENDING Orders . Lot's of thanks
sunshineh
Added topic Expert Advisior runs every 2 Minutes the Init-Funktion
Hi, I am testing my Expert Advision on an Demo Account and realized (with a Print-Message), that the MetaTrader is running the init-Funktion every few minutes, why? What can I do against that?! Lot's of thanks
sunshineh
Added topic Intersection of the indize with a certain value
Hi, I want to write an EA whichs buys when die indzes goes from a lower point to the certain value (High[1]<=cerValue) and sell one order, if the indizes cuts the certain value from the higher point (Low[1]<=cerValue). My problem is know, that