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

RE: [amibroker] filter out stocks with < N years of history



PureBytes Links

Trading Reference Links

Hi,

Can you show me how I can get this vbscript to work in Amibroker.

Thanks

Refards
Guno

EnableScript ( "vbscript" );

<%
Sub Submit_OnClick
  Dim TheForm
  Set TheForm = Document.ValidForm
  if IsNumeric(TheForm.Text1.Value) Then
    if TheForm.Text1.Value < 1 OR TheForm.Text1.Value > 10 Then
      MsgBox "Please enter a number between 1 and 10."
    else
      MsgBox "Thank you."
    End if
  else
    MsgBox "Please enter a numeric value."
  End if
End Sub

</SCRIPT>
 
%>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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:
    http://docs.yahoo.com/info/terms/