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

Re: [amibroker] Re: I need some loop-programming help



PureBytes Links

Trading Reference Links




I have 
tried both setting for the "Allow Same Bar Exit".  I will have to send a 
message support.
<FONT face=Arial color=#0000ff 
size=2> 
Thanx 
for the help
<FONT face=Arial color=#0000ff 
size=2>Paul.

  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: dingo 
  [mailto:dingo@xxxxxxxxxxx] On Behalf Of dingoSent: March 9, 
  2004 21:42To: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
  [amibroker] Applystop problem
  <FONT face=Arial 
  color=#0000ff size=2>are you using eod data?
  <FONT face=Arial 
  color=#0000ff size=2> 
  <FONT face=Arial 
  color=#0000ff size=2>What is the setting for "Allow Same Bar Exit"?  You 
  might try changing that.
  <FONT face=Arial 
  color=#0000ff size=2> 
  <FONT face=Arial 
  color=#0000ff size=2>Otherwise send a msg to <A 
  href="">support@xxxxxxxxxxxxx
  <FONT face=Arial 
  color=#0000ff size=2> 
  <FONT face=Arial 
  color=#0000ff size=2>d
  
    
    
    From: Paul Binnell [mailto:Paul@xxxxxxxxxxx] 
    Sent: Tuesday, March 09, 2004 3:28 PMTo: 
    amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker] Applystop 
    problem
    
    I 
    ran the code with the Equity(1) placed right after the applystop but that 
    did not effect it.  The test code is at the bottom of the e-mail.  
    I even have the entry delay set to 1 but that only stops me from re-entering 
    the same ticker.  Any other ideas would be 
    appreciated.
    
      
      <FONT 
      face=Tahoma size=2>-----Original Message-----From: dingo 
      [mailto:dingo@xxxxxxxxxxxx] Sent: March 9, 2004 
      19:26To: amibroker@xxxxxxxxxxxxxxxSubject: RE: 
      [amibroker] Applystop problem
      <FONT face=Arial 
      color=#0000ff size=2>Try putting Equity(1); right below your 
      applystop.
      <FONT face=Arial 
      color=#0000ff size=2> 
      <FONT face=Arial 
      color=#0000ff size=2>d
      
        
        
        From: Paul Binnell 
        [mailto:Paul@xxxxxxxxxxx] Sent: Tuesday, March 09, 2004 1:20 
        PMTo: amibroker@xxxxxxxxxxxxxxxSubject: 
        [amibroker] Applystop problem
        
        
        <FONT face=Arial 
        size=2>    I have an issue with the applystop 
        function.  I have searched the archives but do not seem to be able 
        to find a solution and I'm sure I have seen mention of this 
        before.  This piece of test code when run shows trades that are 
        entered before the last one is exited.  This occurs when the stop 
        is hit intra day.  I have set my trade time to open.  
        
        I followed the 
        setting mentioned in the help for applystop which 
        follows
        ActivateStopsImmediately turned 
        ONExitAtStop = 1Trade delays set to oneTrade price set to 
        open
        But I still 
        get this problem.  Does anyone know a solution?
        <SPAN 
        class=584415320-08032004> 
        <SPAN 
        class=584415320-08032004>Thanx
        <SPAN 
        class=584415320-08032004>Paul
        <FONT face=Arial 
        size=2>//------------------------------------------------------------------------------------------------------------------- 
        rScore = close / ref(close,-1);   //Set Trade 
        Delays and Initial Equity SetOption("InitialEquity", 1000000); 
        SetTradeDelays(1,1,1,1); SetOption("MinShares",100); MaxPos 
        = 1;SetOption("MaxOpenPositions",MaxPos); PositionSize = 
        -100/MaxPos; RoundLotSize = 100;  //Scoring Routine 
        Begins PositionScore  = rScore; Buy = Close > 
        ref(close,-1); Sell = Close < 
        ref(close,-1);   ApplyStop(stopTypeProfit,stopModePercent,10,1,False,1); 
        //------------------------------------------------------------------------------------------------------------------- 
        Send BUG REPORTS to 
        bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
        suggest@xxxxxxxxxxxxx-----------------------------------------Post 
        AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
        page: <A 
        href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
        group FAQ at: <A 
        href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
        Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
        SUGGESTIONS to 
        suggest@xxxxxxxxxxxxx-----------------------------------------Post 
        AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web 
        page: <A 
        href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
        group FAQ at: <A 
        href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
        Send BUG REPORTS to 
    bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
    SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    


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.