[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Current Trade Profit



PureBytes Links

Trading Reference Links





hi,
I am trying to plot the current profit of the 
trade.
 
1) I do not know 
what;s the variable "pos" . I found it in the manual of 
Amibroker.
It doesn;t work for me...<FONT 
face=Batang>
//Current Trade Profit:
Lastbar = Cum(1) == LastValue( Cum(1) 
);
Plot(IIf(LastBar AND 
pos,E-ValueWhen(Buy,E),ValueWhen(Short,E) -
E),"Current Profit",9,2+4);
2) Where i can find a time stop related to 
accumalated profit of the trade.
 help appreciated.
jb






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.