ido370
ido370
Friends

Add friends via their profile or user search and you will be able to see if they are online

ido370
Added topic incrementing lotsize
i have the following code right now, and i want to increase the lotsize every 1000 dolllar: for the variables: extern bool increment= true ; extern double Incrementlevel = 1000 ; extern double BaseLot = 0.1 ; and in the start: if (increment) { int
ido370
Registered at MQL5.community
ido370
Added topic ordermodify stoploss at wrong value
HI, ik got a double variable named bebuy which has the number 10 in it. I want to use the following to modify the stoploss, but somehow instead of Ask-bebuy(=Ask-10 pips), it puts the SL maybe 200 pips lower? I believe i use something wrong in the
ido370
Added topic multiple orders - error 130
i'm trying to send 2 stop orders after each other, but i get a lot of error 130's. this is the code i use: So what should i change to get rid of the errors? Right now only the first order is taken it seems //DIGIT FIX    if ( Digits == 5 ||
ido370
Added topic trailing stop not working
I'm trying to insert a trailing stop function in my EA, but somehow i don't get it working properly. I am trying to do as below: void MoveTrailingStop() {    int cnt, total;    bool move=false;    double Trailer_buy
ido370
Added topic signaltable changed, not working
Hello fellow traders, i found the signaltbale indicator on this site, and wanted to modify the SAR,WPR and MA into something different. But somehow (i only changed the "if" parts) its not working. Who can help me with the solution for this
ido370
Added topic Arrows and Alert not functioning
I have this indicator, and i was working on alert function and to display arrows when signal is valid. Alert function works, but only for 1 pair (not on other 5 pairs i have open then), so i think this has to do with the "if (TimeCurrent() >
ido370
Added topic check object color with if loop - possible?
Hi, i have the following code and was wondering if this is the right way to check the colors, since i couldn't find something similar: color result1=ObjectGet( "rule1" , OBJPROP_COLOR );    color result2=ObjectGet( "rule2" , OBJPROP_COLOR
ido370
Added topic mtf traffic light indicator - not right when switching charts
Hello, i created an indicator to show some values as a "trafic light". first light has to become orange (same for buy and sell), and the other two green(for buy setup) or red (for sell setup) . It is al working OK, but now i wanted to see 3
ido370
Added topic buystop error 4107 / 130
got the following code. for the ordersend command i want to set the open price on the value of hh5 (highest price from last 5 bars), but i keep getting error 4107 or 130. Could someone show me what im doing wrong?    atrvalue= iATR ( NULL
ido370
Added topic orderdelete with ticketnumber
i have the follwing commands to send the order: buyStopOrder=OrderSend(Symbol(),OP_BUYSTOP,lots,entryw1,100,SLw1,TPw1,NULL,333,0,Blue); sellStopOrder=OrderSend(Symbol(),OP_SELLSTOP,lots,entryw2,100,SLw2,TPw2,NULL,444,0,Red); and then the following
ido370
Added topic Ordermodify error - compare double?
can someone show me what needs to be changed to get the following code working? I'm having 2 pending orders , which need to be modified (with magicnumber 222 and 333). When a green line on the chart is moving, it needs to adjust the openprice, TP and
ido370
Added topic place pending order when line is touched - not working...
Good evening, i'm having trouble to let my EA place pending orders when the middle white line on the chart is touched/reached. What am i doing wrong? i only left the necessary code in here, because it was too long to post here... double
ido370
Added topic count total closed orders in history with magicnumber
Hello, currently im stuck at my EA code. Almost everything works fine, but i also want it to display how many trades are already closed. Right now is use the following piece of code. But the "Closed orders: " always shows 0, while i have