And here is new graph of the indicator in 2008 this time there is no filter adding with the indicator for positioning orders .
buy condition = signal green point below the line + slope direction lime color
this is the result of the indicator alone still not optimized and im only trying it on EURUSD for now.
THIS is an indicator and that graph is the behavior of the indicator in 2008 its just to have some idea .
i try afew times to put on chart and nada empty whats wrong
nothing wrong, something on your side (hate .ex files)
last post in this tread
This is my final result for now for here
Time frame = h4
Currency = eurusd
Smooth_ratio = 0.5
Rperiod = 46
Buy = slope green + signal point green below the line
Sell = vice versa
Stoploss & takeprofit = 0
Trailing stop = (daily average range) / 3
Exit = when no or opposite signal
with this setup you would get this result in 2008 till now (below) , in average 1 trade a week .
c u around
Sorry for the long delay in answering. I have ben very busy.
The EA uses the cross of two lsma lines. One that I use for the daily is the 7/16 cross.
That is why the single indicator does not match the trades.
Robert aka MrPip
do you have a template you could share?
Many thanks for sharing the items in this thread with everyone. Are you using the ones only on the first post or in other posts?
here im sharing one of my indis (SLSMA) lets see if its useful
the result below shows the behavior of the indicator (settings not optimized) in 2008 with (smoothed ma 55 Chanel) as a filter (very quick ea).
try out different settings and compare it with LSMA,
This has to be one of the Best and most over looked indy's here on TSD
I tried to run Lsma_v1.0.mq4 as LSMA Direction EA.
I have few question:
1) Is it the correct one ?
2)If I set useDelay=0 it enter trades continuosly not when the LSMA indicator color change. Is it normal?
3) If I use LSMA in Color as indicator , I wrote the following code to recognize when LSMA color change :
LSMA_index0=iCustom(NULL,0,"LSMA in Color",34,1500,0,0);
LSMA_index1=iCustom(NULL,0,"LSMA in Color",34,1500,1,0);
LSMA_index2=iCustom(NULL,0,"LSMA in Color",34,1500,2,0);
if(LSMA_index0 != LSMA_index1 || LSMA_index1!=LSMA_index2 || LSMA_index0!=LSMA_index2)
sComment=sComment+"LSMA color0=" +LSMA_index0+"\n";
sComment=sComment+"LSMA color1=" +LSMA_index1+"\n";
sComment=sComment+"LSMA color2=" +LSMA_index2+"\n";
sComment=sComment+"Difference found=" +difference_found+"\n";
but it never set difference_found = true ;-(
The value of LSMA_index0, LSMA_index1, LSMA_index2 are always the same
Can you help me?
4) my intention is to write an LSMA Direction EA that enter the trade on changing LSMA color from red/yellow to green -> buy and exit the trade when the opposite color change happen
Thanks in advance for you valid support