it open a double array t at the initialization.
tickvalue from 7tickbefore to current stores in t-t
it count the max and min value from tto t
if the maxvalue appears in t and minvalue appears in t,open a sell order with 5pips takeprofit and stoploss.
if the minvalue appearsin t and maxvalue appears in t, open a buy order with 5pips tp and sl.
the array size can be other value bigger or less than 7, its up to you.
the position of maxvalue and minvalue in the array can be adjusted based on your willing or test.
Hi Shanyang, Good you show how to change the code by giving an example. I don't understand all the code but would like to mess with it to see what I can come with to make it better. Thanks Marty
I tried the shangyang EA and found that it's a fabulous way to lose money fast. Most of the trades hit the SL and the few that made money closed with just 1 or 2 pips of profit.
I think the logic behind this system is fatally flawed...
can I please have a sample of tick indicator using an indicator call like iMACD( etc etc
Just as a sample:
fastma = iCustom(NULL,0,"TickSmoother_v1.1",fast,slow,mamode,0,Gray,200,0,0);
slowma = iCustom(NULL,0,"TickSmoother_v1.1",fast,slow,mamode,0,Gray,200,1,0);
But you should know that tick indicators work on live quotes (not in tester).
This one is mine
introducing my indicator on tick price too...
it's a funny indicator
Price Action Indicator - MQL4 Code Base
hope you like it
thanks ingorad thats kinda the wrong way around
i want to have a ticksmoother of an indicator
attached is my indicator I want it as ticks using this calc
ExtMapBuffer1=(iCustom(NULL,0,"adaptive rsi",0,i)*10000)-(iCustom(NULL,0,"adaptive rsi",0,i+1)*10000);
indicator is here
Please try to test TickAdaptiveRSI.
the indy doesnt appear on my chart so am I doing something wrong?Thanks in advance.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.