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

[amibroker] Ploting lines that change colors - help please



PureBytes Links

Trading Reference Links




Hello,
 
Have you an idea how to set  the maximum of 
contracts to trade
for example I have a system, it buys or sells a 
number of contracts according to 100% of the equity
but I want that the maximum of contracts will 
be 100.
because the results becomes unrealistic when the 
system trades > 4000 contracts.
 

MarginDeposit = <FONT 
color=#ff00ff>3500;
RoundLotSize = <FONT 
color=#ff00ff>1;
PointValue = <FONT 
color=#ff00ff>10;
PositionSize=<FONT 
size=4>Max<FONT 
face="Courier New">(NumberContracts=100<FONT 
face="Courier New">,-100/*100% 
Equity*/);// not work
 
<FONT face=Arial color=#000000 
size=2>Stephane<FONT face="Courier New" 
size=1>


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








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.