Results 1 to 4 of 4
 4 Attachment(s)    

Thread: LSMA EA request?

  1. #1

    Default LSMA EA request?

    Hi Funyoo,

    I donít like to ask as i know your busy. Would you mind making this EA for me?

    Indi: LSMA in color.ex4 (attached)
    extern string entrylogics="Entry Logics";

    extern int Rperiod=60; // Period
    extern int Draw4HowLongg=15000; // Draw length
    extern bool UseFilter1=true; // if true current chart LSMA line color needs to match on Filter1's TF
    extern int Filter1TF=30;
    extern bool UseFilter2=true; // if true current chart LSMA line color needs to match on Filter2's TF
    extern int Filter2TF=240;
    extern int shift=1; // bars consideration for the signal

    1. Entry when current TF changes from yellow to green/red (long/short) and filters match.
    2. Close when color from red to green / green to red (not yellow)

    Only ever 1 long or short. Please add usual MM and time filters.



    thanks alot.
    Attached Files Attached Files

  2. #2

    Default

    sorry, another entry thought:

    if current chart shows an entry and say filter 2 agrees but filter 1 does not the entry is not valid.
    please try to code so if the current and long term colors match, then the mid TF aggrees this forms a valid entry?

    logic: theres a strong down trend on the 4hr. the 30min is in a small retracment and the 5min is showing the retracement finishing and heads down. this shows on the 30 min soon after, thus all matching

    thanks

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

    Default

    Quote Originally Posted by jimmynz View Post
    sorry, another entry thought:

    if current chart shows an entry and say filter 2 agrees but filter 1 does not the entry is not valid.
    please try to code so if the current and long term colors match, then the mid TF aggrees this forms a valid entry?

    logic: theres a strong down trend on the 4hr. the 30min is in a small retracment and the 5min is showing the retracement finishing and heads down. this shows on the 30 min soon after, thus all matching

    thanks
    Hi jimmynz,

    Here is an EA.
    Attached Files Attached Files

  4. #4

    Smile

    thanks alot for your efforts. well worth the elite cost..

    2 things:
    1. the TF filter isnt working right.. it seems when TF filters = false it trades correct. but when eg, lsmafilter1= true, then all trades are made and closed on that TF
    if current is M15 and filter 1 = M240, all trades are taken from M240

    2. the lsma repaints. sorry, i should have checked this. i found a mladen edit thats non repaint. could you please swap indis? (attached) i tried by replacing ext int/bool's and iCustom variables but i dont know enough about index buffers and not sure about the TF filter fix?

    the TF error:


    the signals..with new indi


    attached is the mod so far LSMA nrp EA (int/bool and iCustom mod's done)
    and the LSMA nrp indi

    thanks again
    Attached Files Attached Files

Similar Threads

  1. Lsma Ea
    By gm2407 in forum Ideas for expert advisors
    Replies: 7
    Last Post: 04-16-2015, 06:48
  2. Help with LSMA in color
    By dez_141 in forum MQL programming
    Replies: 1
    Last Post: 11-09-2010, 12:37
  3. Lsma
    By jpsaltuc in forum Ideas for expert advisors
    Replies: 0
    Last Post: 04-11-2009, 16:56

Tags for this Thread

add, color, ea request, elite, ex4, funyoo, index, long term, non repaint, nrp, request, signals, 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
  •