Announcement

Collapse
No announcement yet.

YAHOO time and volume inquiry thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • YAHOO time and volume inquiry thread

    Thanks David. What about Tradesize? Is there any efs script or object in the EFS language that actually outputs the last Tradesize? I want to be able to do an alert if Tradesize is say, greater than 100.

    Anybody from Esignal?

    ----- Original Message -----
    From: David J. Loomis
    To: [email protected]
    Sent: Friday, February 21, 2003 12:43 PM
    Subject: Re: [eSignal] TradeSize & Time


    http://share.esignal.com/groupconten...er=&groupid=40

    has every clock time you will ever need
    ----- Original Message -----
    From: Wave Trader
    To: [email protected]
    Sent: Friday, February 21, 2003 2:49 PM
    Subject: Fw: [eSignal] TradeSize & Time


    In addition to Tradesize (see below), I would also like to be able to print the time in HH:MM:SS AM/PM format. (Pacific Standard Time).

    Anybody have any ideas?



    ----- Original Message -----
    From: Wave Trader
    To: [email protected]
    Sent: Wednesday, February 19, 2003 9:42 PM
    Subject: [eSignal] TradeSize


    Is there a TradeSize object or class in efs? This would actually be the size of the last trade.

    I would like to be able to put an alert if the Tradesize > 100, or something like that.

  • #2
    WaveTrader BigVol efs

    This will write BigVol on a chart if the volume on a tick is above 100 on the ES H3.

    //{{EFSWizard_Description
    //
    // This formula was generated by the Alert Wizard
    //
    //}}EFSWizard_Description 7532


    //{{EFSWizard_Declarations

    var vLastAlert = -1;

    //}}EFSWizard_Declarations 2482


    function preMain() {
    //{{EFSWizard_Code_PreMain_setPriceBarColor
    setColorPriceBars(true);
    //}}EFSWizard_Code_PreMain_setPriceBarColor 3448
    /**
    * This function is called only once, before any of the bars are loaded.
    * Place any study or EFS configuration commands here.
    */
    //{{EFSWizard_PreMain
    setPriceStudy(true);
    setStudyTitle("WTvol");
    //}}EFSWizard_PreMain 6059

    }

    function main() {
    /**
    * The main() function is called once per bar on all previous bars, once per
    * each incoming completed bar, and if you don't have 'setComputeOnClose(true)'
    * in your preMain(), it is also called on every tick.
    */

    //{{EFSWizard_Expressions
    //{{EFSWizard_Expression_1
    if (
    volume() > 100
    ) onAction1();
    //}}EFSWizard_Expression_1 5655

    //}}EFSWizard_Expressions 16160


    //{{EFSWizard_Return
    return null;
    //}}EFSWizard_Return 2256

    }

    function postMain() {
    /**
    * The postMain() function is called only once, when the EFS is no longer used for
    * the current symbol (ie, symbol change, chart closing, or application shutdown).
    */
    }

    //{{EFSWizard_Actions
    //{{EFSWizard_Action_1
    function onAction1() {
    setPriceBarColor(Color.lime);
    drawTextRelative(0, low(), "BigVol", Color.RGB(155,0,0), Color.RGB(255,255,255), Text.LEFT, "Arial", 8)
    vLastAlert = 1;
    }
    //}}EFSWizard_Action_1 10634

    //}}EFSWizard_Actions 20625

    Comment


    • #3
      oops, here's the pic...
      Attached Files

      Comment

      Working...
      X