Tick Indicator and EAs - page 11

shanyang
23
shanyang  
bamik:
Thanks for sharing your EA. But when this EA make a buy order or sell order?

it open a double array t[7] at the initialization.

tickvalue from 7tickbefore to current stores in t[0]-t[6]

it count the max and min value from t[0]to t[6]

if the maxvalue appears in t[4] and minvalue appears in t[0],open a sell order with 5pips takeprofit and stoploss.

if the minvalue appearsin t[4] and maxvalue appears in t[0], 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.

martypatty
9
martypatty  

cool ea

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

ZTrader
262
ZTrader  

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...

Perky
973
Perky  
igorad:
I've developed some tick indicators. One of them you can see in this thread. The rest you could find in Elite Section.

can I please have a sample of tick indicator using an indicator call like iMACD( etc etc

Igor Durkin
7796
Igor Durkin  

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).

Perky:
can I please have a sample of tick indicator using an indicator call like iMACD( etc etc
phoenix
439
phoenix  

This one is mine

introducing my indicator on tick price too...

it's a funny indicator

try on

Price Action Indicator - MQL4 Code Base

hope you like it

Perky
973
Perky  

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);

igorad:
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).
Perky
973
Perky  

indicator is here

Files:
Igor Durkin
7796
Igor Durkin  

Please try to test TickAdaptiveRSI.

Perky:
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);
Files:
[Deleted]  

Igorad,

the indy doesnt appear on my chart so am I doing something wrong?Thanks in advance.