Hi Claudio

You could just use ...

Month()<>Ref(Month(),+1);

This would always return N/A on the last bar. That wouldn't really matter with 
the EST because the code I added to eliminate the N/A result on the last bar of 
the test should give exactly the same result. An N/A column result on the last 
bar of an exploration, on the other hand, will guarantee you invalid results 
for every security.

With Pete's suggestion the Buy Order code might look like this ...

Month()<>Ref(Month(),+1) AND Month()=10;

Whether you only use one month of the year or all 12 is something you didn't 
make clear. As for you not being an expert, if you take the time to work out 
why a suggestion works (or doesn't) then you will begin to learn. Each step you 
take will get you a little closer to being an expert. It's a process you need 
to go through. As for downloading something from the internet, my guess is that 
you do that quite frequently. The question should not be "why doesn't it work?" 
but "what am I doing wrong that it doesn't work for me?". 

Roy




  ----- Original Message ----- 
  From: [email protected] 
  To: [email protected] 
  Sent: Friday, September 28, 2012 9:18 PM
  Subject: Re: Re: [EquisMetaStock Group] last day of month


    

  This works but you have to specify the month you want tested, For example for 
month end Septmeber => month()=9 and Ref(month(),1)=10

    
  From: "[email protected]" <[email protected]>
  To: [email protected] 
  Sent: Friday, September 28, 2012 2:38 AM
  Subject: Re: Re: [EquisMetaStock Group] last day of month



    

  is this the only way?

  (I'm not so expert and in the files section i can't download anything) 

  Is not possible write a "formula standalone" in enter long?
  thanks
  claudio


  ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  From: [email protected]
  To: [email protected]
  Date: 21:46:55, 27.09.2012
  Subject: Re: [EquisMetaStock Group] last day of month
  ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~



    
  >> 
  >> 
  >> 
  >>Hi Claudio
  >> 
  >> 
  >>Try this.
  >> 
  >>M:=Month()<>Ref(Month(),-1);
  >>ExtFml("Forum.Ref",M,-1);
  >> 
  >>If you don't have it the Forum DLL it's available from the Equis Forum 
website Files section as  ForumDll_200. Other than not producing a signal on 
the last bar of data this should work just fine. Using the Forum DLL Ref 
function eliminates the N/A that would result on the last bar if the standard 
Ref() function was used instead. Note that the polarity of the Forum DLL Ref 
function Periods parameter is opposite to the standard function, so a negative 
value advances the signal rather than delaying it.
  >> 
  >> 
  >>Roy
  >> 
  >> 
  >> 
    >>----- Original Message ----- 
    >>From: cldsgr 
    >>To: [email protected] 
    >>Sent: Thursday, September 27, 2012 9:20 PM
    >>Subject: [EquisMetaStock Group] last day of month
    >>
    >>
      
    >> 
    >>what I have to write in: "enter long" of the tester
    >>to buy the last day of month?
    >>thanks
    >>claudio 
    >>
    >>

    >>
    >>__________ Information from ESET NOD32 Antivirus, version of virus 
signature database 7524 (20120927) __________
    >>
    >>The message was checked by ESET NOD32 Antivirus.
    >>
    >>http://www.eset.com/
    >>

  >>
  >>__________ Information from ESET NOD32 Antivirus, version of virus 
signature database 7524 (20120927) __________
  >>
  >>The message was checked by ESET NOD32 Antivirus.
  >>
  >>http://www.eset.com/
  >> 
  >>







  

  __________ Information from ESET NOD32 Antivirus, version of virus signature 
database 7526 (20120928) __________

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 7526 (20120928) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Reply via email to