Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

EasyTrader_I

Members
  • Content Count

    75
  • Joined

  • Last visited

Posts posted by EasyTrader_I


  1. Hi,

    StartTime(1630) // 430 PM

    EndTIme(930) // 930 AM

    If T > ONightStart and T < ONightEnd then ONightSession = True; 

    Time cannot be greater than 430 PM less than 930 AM(since we haven't mentioned any Date).

    Try this:-

    If T > ONightStart OR T < ONightEnd then ONightSession = True; 

     

    Goodluck.

    Mani.


  2. Dear Frenchnewbie, 

       I don't know whether that's the common word that you use with your brothers, as you people really get confuse when someone asks what's your father's name? and it's common there. But please mind your words when you write something in public.... I am extremely sorry for not replying to your last post, I am basically a tradestation programmer, and I thought I could help. But I didn't understand the above code 100%, which is why I didn't do. I apologize for not replying to your question.  If you are really not a        __________ then you have to apologize for using such a word. 

    I didn't use TLaboratory for a very long time...

    Good luck with your future.

    Arun.

       


  3. Hi,

    I am preparing for my CMT Level1 exams. I have created a small web application, with lots of Questions from the Technical Analysis Level 1 book. I will be adding more and more questions in the coming days.Those who are interested can SignUp and take exams for free. This is a new site and I am working on in continuously to improve it and hope to reach most of the TRADERS who wants to gain knowledge. So suggestions to improve the site will encourage me. Also I have non-Technical Questions for those who are preparing for other Exams.

     

    Here is the link:-

    http://quizzcomp.in/kickstart.aspx.

     

    Mail Id:- quizzcomp@gmail.com

    Looking forward to see your feedback and suggestions.

     

     

    Thanks a Lot.


  4. Hi All,

    For the last Ten years I have been programming, I specialize working with Easylanguage. I have a very comprehensive knowledge of the TradeStation platform.

    I charge a very competitive rate of $30 per hour. I greatly look forward to working with you to help achieve your goals in the financial markets.

     

    I also have some strategies for Futures(@GC, @SI, @CL, @US, @Y and @FDAX). If you are interested , I can send you the performance reports.

     

    My mail id is :- easylanguage.india@gmail.com

    Skype id :- tradestation_programmer

    Thanks,

    Easytrader_i


  5. Hi einja,

     

    The first Buy signal would have taken at the very begining of the chart, Since there is No exit or reversal Orders, you cannot expect further Orders.

     

    Try placing an exit Order. For Example [HIGHLIGHT ORANGE][/HIGHLIGHT ORANGE]Setstoploss(1000)

     

    Good Luck.


  6. Hi Pitrader,

     

    Input: Price(Close), Lenght(9), Displace(3);
    
    variables:
    double HullAvg( 0 ) ,
                   double NewAvg( 0) ;
    
    HullAvg = HMA( Price, Length ) ;
    NewAvg = Average(HullAvg, Length);
    
    Plot1[Displace] (NewAvg, "NewAvg");
    

     

    Cheers.


  7. Hi,

     

    Tradestation is different from MT4 in calculation. Tradestation calculates from left to right and thus the first bar will be 1 and then goes on..

     

    if countedBars >= 0 then begin

    if countedBars > 0 then CountedBars=CountedBars-1;

     

    1) In the first bar of calculation the countedBars is set to 0. So in your case, the countedBars will never be > 0.

     

    2) In the for Loop, you have stated that Counter = 1 to to Counter<=0 where Counter is set as Counter(BackPeriod) in the variable.

    So I guess it should be like the following:-

     

       for X = Counter downto 0	
    begin
                           //your code here
    

     

    Good Luck

    Easytrader_I.


  8. Hi,

     

    Is your ElCollection.Dll located correctly. I mean inside the Multichart Directory? I use tradestation and I place the Dll Inside my "Program files\Tradestation\Programs"..

    So have you placed it inside the Multichart installation folder?

     

     

    Good Luck.

    EasyTrader_I


  9. One more thing that I forget to post here is your Barssinceentry.

     

    BarsSinceEntry(Num)
    
    Where Num is a whole number (up to a maximum 10) representing positions ago.

     

    Hope it cannot have 0. Unless you are working with the Intrabar Order Generation.

     

    Good Luck.

    EasyTrader_I


  10. Hi smurf77,

     

    In your code condition3 will always be False, as you are applying the condition for the very first trades where you don't have Exit. Hope you understand my Point.

     

    Please try the following code..

    condition1 = Average(close,8) crosses over Average(close,12) ;
    condition2 = close > average (close,300) ;
    condition3 = barssinceexit(1)>5;
    condition4 = marketposition=0;
    
    IF condition1 and condition2 and (condition3 or Totaltrades < 1) and condition4 THEN BUY 1 share next bar AT MARKET;
    
    //Print(D, T, Condition1, Condition2, Condition3, Condition4);
    //SELL SIGNAL
    if marketposition=1 then sell next bar at(entryprice+10)limit;
    setstoploss(20);
    if currentbar - barssinceentry(0)= 22 then sell next bar at market;
    

     

    I have added an (Or) condition.

     

    Good Luck.

    EasyTrader_I


  11. HI smurf77,

     

    If you need Time Gap between the trades, then you can use Bassinceexit(1) > 5 then...as you have used.

     

    But you have to make sure that you have a condition in the entry

    If Maarketposition = 0 then Buy.....
    If MarketPosition = 0 then SellShort.....
    

     

    The Bolded words are important, as this will make sure that your entries are neither a stop&Reverse, Not enter immediately.

     

    Hope that will help...

     

    EasyTrader_I

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.