Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
 8 Attachment(s)    

Thread: PriceChannel_Stop EA

  1. #21

    Default

    The Price Channel EA has such great possibilities and I have run a lot of tests each with satisifying results.

    One isssue I see so far is that attempting to run it on many currencies it has to call the indicator each time for each currency and takes more resources that I thin is necessary.

    if Funyoo has a moment and can eliminate the ouside calls by programming the indicator directly into the EA and thus eliminate the indicator completely it might open up better possibilities here.

    Funyoo, if you have a few extar moments, in your busy schedule could you take alook and see if you can eliminate the indicator completely and simply program the indicator routine directly into the EA itself .

    As always your work is more than appreciated and far more valuable than we can ever express here.

    Pheniox
    Last edited by Pheniox; 03-23-2010 at 20:49.

  2. #22

    Default

    For those that are willing to run on the 4 hr timeframe and wait for trades it makes pips.
    Also Funyoo if you have sometime to work on my request would be helpful. Whne you have time I know you are a busy man there.
    Also have a better MACD Diverence Indicator if I can find it for the other program
    Pheniox
    Last edited by Pheniox; 03-28-2010 at 01:06. Reason: Spelling

  3. #23

    Default

    Quote Originally Posted by Pheniox View Post
    The Price Channel EA has such great possibilities and I have run a lot of tests each with satisifying results.

    One isssue I see so far is that attempting to run it on many currencies it has to call the indicator each time for each currency and takes more resources that I thin is necessary.

    if Funyoo has a moment and can eliminate the ouside calls by programming the indicator directly into the EA and thus eliminate the indicator completely it might open up better possibilities here.

    Funyoo, if you have a few extar moments, in your busy schedule could you take alook and see if you can eliminate the indicator completely and simply program the indicator routine directly into the EA itself .

    As always your work is more than appreciated and far more valuable than we can ever express here.

    Pheniox
    Bump.........

  4. #24
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Pheniox View Post
    The Price Channel EA has such great possibilities and I have run a lot of tests each with satisifying results.

    One isssue I see so far is that attempting to run it on many currencies it has to call the indicator each time for each currency and takes more resources that I thin is necessary.

    if Funyoo has a moment and can eliminate the ouside calls by programming the indicator directly into the EA and thus eliminate the indicator completely it might open up better possibilities here.

    Funyoo, if you have a few extar moments, in your busy schedule could you take alook and see if you can eliminate the indicator completely and simply program the indicator routine directly into the EA itself .

    As always your work is more than appreciated and far more valuable than we can ever express here.

    Pheniox
    Hi Pheniox,

    New template and indicator logics integrated into the code.

    Calculations :

    Code:
    double lo=Low[iLowest(NULL,0,MODE_LOW,channelperiod,shift)];    
    double hi=High[iHighest(NULL,0,MODE_HIGH,channelperiod,shift)];
    double loa=Low[iLowest(NULL,0,MODE_LOW,channelperiod,shift+1)];    
    double hia=High[iHighest(NULL,0,MODE_HIGH,channelperiod,shift+1)];
         
    double smax=hi-(hi-lo)*pcrisk;
    double smin=lo+(hi-lo)*pcrisk;
    double smaxa=hia-(hia-loa)*pcrisk;
    double smina=loa+(hia-loa)*pcrisk;
          
    if(Close[shift]>smaxa)trend=1; 
    if(Close[shift]<smina)trend=-1;
    
    int signal=0;
    if(trenda!=0 && trenda==-1 && trend==1)signal=1;
    if(trenda!=0 && trenda==1 && trend==-1)signal=2;
    
    trenda=trend;
    Attached Files Attached Files

Tags for this Thread

alarm, channel, ecn, free, funyoo, high, indicator, low, macd, martingale, programming, request, signal, signals, simple, stop, stop ea, thank you, time, trend

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •