|
1 registered members (AndrewAMD),
1,248
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Please, help with Fractal indicator.
[Re: jcl]
#415378
01/17/13 21:44
01/17/13 21:44
|
Joined: Jan 2013
Posts: 26 Italy
Maruska
OP
Newbie
|
OP
Newbie
Joined: Jan 2013
Posts: 26
Italy
|
Ok, thanks. I begin to understand more about zorro's functioning.
Another question: If I have more than one order opened how Can I close only one particolar order?
I read on the manual the function "exitTrade (TRADE* trade, var price)" but I don't know how to retriev "trade" variable.
I have some like this:
for(open_trades) if(strstr(TradeAsset,Asset) && TradeIsOpen) if(TradeIsLong && ((Bid - priceClose(0)) > (PipsProfit*PIP))) exitLong(); else if(TradeIsShort && ((priceClose(0) - Ask) > (PipsProfit*PIP))) exitShort();
but I want to close only the order that matches the condition.
Thanks
Last edited by Maruska; 01/17/13 21:45.
|
|
|
|
|
|