Jump to content

Maggoo

⭐ V.I.P.
  • Posts

    12
  • Joined

  • Last visited

Posts posted by Maggoo

  1. Hi great forum,

     

    I am looking for easylanguage code for Hurst Cycles.

    It is a free code, I found it for MT4 and others platforms but not for TS or MC.

    I believe that I saw him on the TradeStation forum but I'm no longer a customer (for 2 years now) and this subject interests me.

    If someone could help me !

     

    Thanks in advance.

  2. Re: ESystem TS

     

    Hi,

     

    These scripts are not sufficient in themselves, they are only to exit trades (long or short).

    I don't see any condition with "If marketposition=0 then ..."

    You will never enter a trade !

    Am I wrong ?

     

    Obviously I thank you for this code.

    Kind Regards.

  3. Re: Vwap for trading futures

     

    Please let me know if it is what you were looking for.

     

     

       inputs:
    
       EC3 (false),
       EC4 (false),
       colorup(blue),
       colordn (red);
    
       vars:
       PrixW(0),
       TitreW(0),
       Count(0),
       VWAPValue(0),
       VWAPVar(0),
       VWAPEC(0),
       up(0),
       dn(0);
    
       If close>close[1] then up=1;
       If close<close[1] then dn=0;
    
       if date > date[1] then begin
       PrixW = 0;
       TitreW = 0;
       Count = -1;
       Value1 = 0;
       Value2 = 0;
       VWAPValue = 0;
       end;
    
       PrixW = PrixW + AvgPrice;
       TitreW = TitreW + 1;
       Count = Count + 1;
       Value3 = 0;
    
       if TitreW <> 0 then begin
       VWAPValue = PrixW / TitreW;
       For Value1 = 0 To Count Begin
       Value2 = ((up[Value1]+dn[Value1])/TitreW) * (Square(AvgPrice[Value1]-VWAPValue));
       Value3 = Value3 + Value2;
       end;
       end;
    
       VWAPVar = Value3;
       VWAPEC = SquareRoot(VWAPVar);
    
       Plot1(VWAPValue,"VWAP",white);
       Plot2(VWAPValue + VWAPEC,"VWAP1ECUp",colorup);
       Plot3(VWAPValue - VWAPEC,"VWAP1ECDn",colordn);
       Plot4(VWAPValue + (2*VWAPEC),"VWAP2ECUp",colorup);
       Plot5(VWAPValue - (2*VWAPEC),"VWAP2ECDn",colordn);
    
       If EC3 = true then begin
       plot6(VWAPValue + (3*VWAPEC),"VWAP3ECUp",colorup);
       plot7(VWAPValue - (3*VWAPEC),"VWAP3ECDn",colordn);
       end;
    
       If EC4 = true then begin
       plot8(VWAPValue + (4*VWAPEC),"VWAP4ECUp",colorup);
       plot9(VWAPValue - (4*VWAPEC),"VWAP4ECDn",colordn);
       end;
    
    

×
×
  • Create New...