sunshineh / Profile
sunshineh
Added topic Reasons and help of a very slow backtest
Hallo, I have programmed an EA with an iCustom-Function with 10 different Parameters. This iCustom-Indicator is calling an MTF-Indicator, which is calling an Indicator from my standard-metatrader-account. The backtest of my EA is very, very slow! Can
sunshineh
Added topic going crazy with the backtest of my indicator
I am having an indicator with 5 buffers The first two buffers are lines. The following three buffers are drawing arrows/symbols. SetIndexBuffer(2,BuyBuffer); SetIndexBuffer(3,SellBuffer); SetIndexBuffer(4,ExitBuffer); Now I am writing an EA, which
sunshineh
Added topic Can you see the error -> I gcan't modify the take profit
Hi, if (OrderType()==OP_BUY) { OrderModify(OrderTicket(),OrderOpenPrice(),OrderOpenPrice()- Point *TrailingStop_long,OrderOpenPrice()+ Point *Profit, 0 , Yellow ); } if (OrderType()==OP_SELL)
sunshineh
Added topic How can I optical mark my indicator
hi, I have programmed an indikator with many lines. Now I am searching for a good way to mark a buy or sell signal optically. First I thought about a history diagramm in a new window, but therefore I need an additional indikator. Do you have any
sunshineh
Added topic Test only at the open Time of the actual Bar
Hi, I want to write an EA which checks my order conditions only at the open time of the actual bar = one time at each bar. How can I do this? if(iTime(NULL,0,0) == TimeCurrent()) doesn't work. Thank you
sunshineh
Added topic Indicator calculation backwards
Hello, I want to draw an old saved value on indicator, therefore I have to calculate the indicator-loop backwards and not as normal: for(i=0;i<limit;i++) I tried it like that for(i=limit;i<0;i--) but it doesn't work. Any idea?? Thank you
sunshineh
Added topic See the Bilanz Chart for a definite time on my metatrader account
Hello, on my old account is my EA running. When I print my Report, I can see the Bilanz chart until this EA is running. Is there any possibility to start me EA on a new PC and to get the Bilanz chart from that time, my EA started running on my old
sunshineh
Added topic Period() isn't working right
Hi, I am programming an indicator and using the function Period(). But it doesn't work really. On the Timeframe M1 the Period()-Functions gives 1 ...or...60 back. On the Timeframe M15 the Period()-Functions gives 15...or...60 back. On the Timeframe
sunshineh
Added topic Multitimeframe Indicator programming
Hi, this is the main part from my multi-timeframe indicator: for (i= 0 ,y= 0 ;i<limit;i++) { if (Time[i]<TimeArray[y]) y++; if (TimeHour(Time[i])== TimeHour(endzeit) &&
sunshineh
Added topic Indicator programming + Time
Hi, I have problems with programming an indicator. How can I code it, that the indicator shows a special value from 8 to 9 o'clock every day? I only can code it from the time I start the indicator with the
sunshineh
Added topic Indicator and daytime
Hi, I have two questions: 1.Why is the main Loop in an indicator f.e. BB_Oszillator running twice? I don't know, why I have to substract one from the actuall counted_bars: if(counted_bars>0) counted_bars--; 2.If I have a variable datetime test;
sunshineh
Added topic History Data (1min) from Ger30
Hello, does anybody have the 1-minute history data from Ger30? I need it for at least the last two years. Or where can I get it? Thank you
sunshineh
Added topic Equity Indicator
Hello, I want to programm the Equity as an Indicator. I tried it in this way, but it doesn't work int init() { SetIndexStyle( 0 , DRAW_LINE ); SetIndexBuffer ( 0 ,EquityBuffer); SetIndexLabel( 0
sunshineh
Added topic Going crazy - who can see the error by drawing the indicator
Hi, I have programmed a customised indicator . Everythink works perfekt but the last buffer isn't drawn and I can't understand why! First try : BuyBuffer[k] = (WL+WS)/ 2 ; if (SumBuffer[k]>WL) if
sunshineh
Added topic Stringfunction and NewLine
Hi, I read my txt-File into and buffer (with the kernel32.dll like here https://www.mql5.com/en/articles/1540 ) . Now I extract to word "tuesday" as the first word in the second line
sunshineh
Added topic How to debug a Custom Indicator
Hello, I programmed a custom indicator int start() { int limit; int counted_bars=IndicatorCounted(); //---- check for possible errors
sunshineh
Added topic Open extern files with metatrader
Hi, I have a few questions: 1. FileOpen can only open files in the terminal_directory\experts\files folder Is there any possibility, that I can open files directly from Drive C:\ or D:\ . 2. I want to read-only the same CSV-file with many differents
sunshineh
Added topic Searching EAs from CodeBase with ...
Hello, I am searching for an EA which is a trend follower. The EA should detect the last high and low and then start to detect every new high and low. In the case of an up trend: Every new relative low has to be higher than the last low > then the
sunshineh
Added topic Invalid price for OrderClose function
Hi, I am using Alpari and when my EA wants to Close an open Order I get the message: "invalid price 1.32819000 for OrderClose function " my function call is: OrderClose(OrderTicket(),OrderLots(),Bid,2,White); What is going wrong
sunshineh
Added topic Variables doesn't loose their value after an restart
Hello, I have an expert advisior which works with the loss-and profit series from the last orders. I calculated them by OrderSelect(i,SELECT_BY_POS,MODE_HISTORY) .... Is there a posibility to restart the EA an with a loss-and profit series with the
: