| PureBytes Links Trading Reference Links | | 
 On 2/28/2010 1:57 PM, dubi1974 wrote:
 
  Not necessarily, only your code will be more complex. Just an example
of using different entry strategies for different intervals:And one is working on tick basis, the other on 5min basis... So I want to trade different ideas on different futures at the same time. So I would need more than 1 instances of Amibroker open. 
 
 tmf1 = inDaily ;
 tmf2 = inHourly;
 tmf3 = in5Minute;
 
 for (
n = 1; n
< 4; n ++
)
 {
 TimeFrameSet( VarGet( "tmf" + n ));
 {
 switch ( n)
 {
 
 case 1:
 //  buy  rule1
 
 break;
 
 case 2:
 //  buy  rule 2
 
 break;
 
 case 3:
 //  buy rule 3
 break;
 
 default:
 //Buy= 0;
 break;
 
 }
 
 }
 TimeFrameRestore();
 }
 
 
 
 __._,_.___
 
 **** IMPORTANT PLEASE READ ****
 This group is for the discussion between users only.
 This is *NOT* technical support channel.
 
 TO GET TECHNICAL SUPPORT send an e-mail directly to
 SUPPORT {at} amibroker.com
 
 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)
 
 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/
 
 
 
 
 ![]()  
 
 __,_._,___
 | 
 |