sunshineh
sunshineh
sunshineh
Added topic metatrader.exe doesn't start again
Hello, I have programmed an mtf-indicator and put it on a chart with a very long history. Now the metatrader wasn't running and working anymore. I cancel the metatrader with strg+alt+delete and startet my notebook again. But now the metatrader
sunshineh
Added topic Programming an indicator without using indicator-buffer
Hi, I want to program an pivot - indicator, which isn't using any indicator buffer . I have already reprogrammed an existing ea: double Res3[], Res2[], Res1[], Piv[], Sup1[], Sup2[], Sup3[]; int init() {    SetIndexBuffer ( 0 , Res3);
sunshineh
Added topic Programming a state machine for metatrader
Hi, I have a problem with my program idea. I am able to draw my trading idea like a state machine with different states and different steps at each state. But I can't program it in the right way :-( In a few points in my program I have to ensure that
sunshineh
Added topic Meaning of function IsTradeAllowed()
Hi, I have written an ea which has the following code-lines in his start function:    if ( IsTradeAllowed ()==false)       {          Alert ( "You have to activate your
sunshineh
Added topic Handling of failed orders
Hi, how are you handling the orders, if the OrderSend- or the OrderClose- Function returns -1? I want my ea to open and close the order at a specific minute, and often the broker doesn't execute the orders in this minute. Now I want my EA to try the
sunshineh
Added topic while-loop better?
Hi, I want to program an EA which is buying or sending a limit order at a defined time. Now my question: Is it better the EA is in a while-Loop all the time or is it better it worked with ticks ? Or to say it in another way, does it change anything
sunshineh
Added topic Explanation for pips2dbl and pips2points
Hello, I am using your advised code snippet      if ( Digits == 5 || Digits == 3 ){     // Adjust for five (5) digit brokers
sunshineh
Added topic Seeing the indicator of the ea in the chart
Hi, when I active an ea on my chart, I can't see the indicator which the ea is using. Why and how can I change this?? Thank you
sunshineh
Added topic Indicator which shows the open, close, high, low price from the day before
Hi, I am searching the indicator which shows the open, close, high, low price from the day before on the right side of my chart. I saw this already in the codebase but I didn't saved it and now I can't find it anymore. Does anybody knows it
sunshineh
Added topic Controll another EA with an EA
Hi, can I control an ex-4-EA with another EA, which I program
sunshineh
Added topic My indicator is calculation 4 times every bar
Hi, why is the indicator calculating the value 4 times every bar??? int start() {    int     counted_bars= IndicatorCounted ();    if (counted_bars < 0 ) return (- 1 );    if (counted_bars > 0 )
sunshineh
Added topic Making indicator color variable
Hi, how can I make the color of my indicator-buffer variable?? Normally I program the color in that way: #property indicator_color1 Aqua Is there any possibility to make the color variable with "extern color ..."
sunshineh
Added topic Add a button on the chart
Hi, how can I add a button on the chart, so when somebody is clicking on it, all open positions would be closed. Can I do that in my ea or do I need an indicator for that
sunshineh
Added topic OrderSend from another symbol?
Hi, I wanted to use my EA for EURUSD and also buy an position in this EA from GBPUSD. But I am getting the OrderSend error 4106. Can't I open a position from another symbol
sunshineh
Added topic Strategy test + file functions
Hi, can I do a stategy test from my ea, which uses file- functions ? The ea reads the different ordersettings from the txt-files. Thank you
sunshineh
Added topic Programming an indicator and working with the future
I have programmed an indicator with graphical objects. It calculates the values from the past and the "last state" is very important for the working on... But my rules for the past didn't work in the future This it the main-loop in the
sunshineh
Added topic Programming with Time[i-1] and i
Hi, I am writing an indicator: First I've tried ... lastlowpos = i-1; ObjectCreate(...,Time[lastlospos], High[lastlospos]); //=working with i .... and it work's great in the backtest but not in the livetest Now I wanted to convert my indicator to use
sunshineh
Added topic Understanding the ZigZag Indicator
Hi, I have a few questions about the ZigZag indicator : How many bar it is repainting in maximum? What does the variables ExtDepth ExtDeviation ExtBackstep exactly mean? Thank you very much
sunshineh
Added topic Direction of Calculating an indicator
Hi, I want to program an indicator. Normally I am using this loop in my indicators:    ExtCountedBars= IndicatorCounted (); //---- check for possible errors    if (ExtCountedBars< 0 ) return (- 1 ); //---- last counted bar will
sunshineh
Added topic Can't get the value of an indicator
Hi, I have gotten an indicator as *.ex4 with 6 Buffer. When I put this indicator I see the marker of the buy and the sell signal . I also can change the colour from them. But when I read the values from these buffers with my ea, I can only read