yyencilek
yyencilek
Friends 1
yyencilek
Added topic Trailing profit does not work
Hi why is my trailing profit doesnt work? int trailing= 100 ; double volume= 0.1 ; double higherhigh = NormalizeDouble ( iHigh ( Symbol (), 0 , iHighest ( NULL , 0 , MODE_HIGH , 3 , 0 )), 5 ); double lowerlow =   NormalizeDouble ( iLow (
yyencilek
Added topic Can not close open orders.. please help
hi, i would like to close open orders, what is missing in my code? especially closing orders part? thank you int period1 = 50 ; int ticket; double volume= 0.1 ; input int trailing = 250 ; int OnInit ()   {    return (
yyencilek
Added topic 4108 error
Hi, i am encountering "unknown ticket for orderclose function " error what should be done? here is the code (closing of orders); for(int x=OrdersTotal()-1; x >= 0;x--) //If you have open position { if(OrderSelect(ticket1 ,SELECT_BY_TICKET)==true
yyencilek
Added topic How could i select (retrieve) the latest closed order time?
Hi, i'd like to retrieve the latest closed pair  specific (eurusd) closetime. However , i am seeing all related iterations. How could i choose (retrieve) the recent one? Responds are appreciated...   void OnStart ()   { //---
yyencilek
Added topic How to make it possible on EA to allow only one trade?
Hi guys, Whenever a previous order was closed, immediately a new order took place (in same bar), yes i know the new order meets entering a new position... However, I would like to let only one trade (I am assuming orderclosed also a trade) , i mean
yyencilek
Registered at MQL5.community