|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Quote:
Hi BluePearl, Select them with a left click and then right click and choose "Delete." (You can also choose "delete all selected," if more than one) moneyline |
|
||||
|
Quote:
for(int i=0;i<ObjectsTotal();i++) { if(ObjectType(i) == OBJ_ARROW) ObjectDelete(ObjectName(i)); }
__________________
You need proffesional mql coder? Contact me! I will help you! ........................................ http://www.fxservice.eu/ ........................................ |
|
||||
|
Quote:
datetime currentDay = StrToTime(Year()+"."+Month()+"."+Day()+" 00.00"); for(int i=0;i<ObjectsTotal();i++) { if(ObjectType(i) == OBJ_ARROW && ObjectGet(ObjectName(i),OBJPROP_TIME1)>currentDay) { ObjectDelete(ObjectName(i)); } }
__________________
You need proffesional mql coder? Contact me! I will help you! ........................................ http://www.fxservice.eu/ ........................................ |
|
||||
|
ths Kalenzo but can you make an script of it or what ever we need to get this work ?I am still learning mql4 and it would take me lot of time to make it work.
This code is verry clear to me but i still can't be sure how to implement it and i dont have to much time. |
|
||||
|
Quote:
__________________
You need proffesional mql coder? Contact me! I will help you! ........................................ http://www.fxservice.eu/ ........................................ |
|
|||
|
Quote:
1) If you don't want your trades to show on chart: a)Tools -- Options -- Charts -- Show Trade Levels (Undo) 2)If you want them on your chart, then simply delete after trade: a)right click on chart select Objects List, find arrows and delete. or; b)click on the arrows/checkmarks button near the "T" up on the tool bar, select "delete all arrows" |
|
||||
|
Quote:
color SellColor = Red, BuyColor = Blue, SlColor = Yellow; if (!IsTesting()) { SellColor = CLR_NONE; BuyColor = CLR_NONE; SlColor = CLR_NONE; } if (Buy){ if(StopLoss==0){SL=0;}else{SL=Ask-StopLoss*Point; if (FractalLow>0) SL = slBuy;} if(TakeProfit==0){TP=0;}else{TP=Ask+TakeProfit*Poi nt;} Print("About to open buy order. S/L ",SL, " Fractal = " , FractalLow); OrderSend(Symbol(),OP_BUY,lots,Ask,1,SL,TP,OrderCm t,IDT,0,BuyColor); } if (Sell){ if(StopLoss==0){SL=0;}else{SL=Bid+StopLoss*Point;i f (FractalHigh>0) SL = slSell;} if(TakeProfit==0){TP=0;}else{TP=Bid-TakeProfit*Point;} Print("About to open sell order. S/L ",SL, " Fractal = " , FractalHigh); OrderSend(Symbol(),OP_SELL,lots,Bid,1,SL,TP,OrderC mt,IDT,0,SellColor); } |
|
||||
|
Quote:
Enjoy!
__________________
You need proffesional mql coder? Contact me! I will help you! ........................................ http://www.fxservice.eu/ ........................................ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to change arrows | fxbs | Indicators - Metatrader 4 | 1 | 03-23-2007 04:12 AM |
| Indicator DMI - Arrows | profeta | Suggestions for Trading Systems | 7 | 03-02-2007 06:10 AM |
| Stop Repeating Arrows | Pervaz | Indicators - Metatrader 4 | 1 | 02-11-2007 01:18 PM |
| Arrows in EA? | arashas | Metatrader 4 | 4 | 02-04-2007 07:47 AM |
| Help managing/deleting tester arrows... | Aaragorn | Questions | 1 | 08-01-2006 06:38 PM |