TickScalper EA - page 31

 

ACTIVATE EA EVERY 100ms

Dear Mr. New Digital and Igorad,

I have a request.

Is there any way you can activate (or recalculate) an EA every 100ms (1/10 of a second), rather than every tick?

I want to look at the price action of every 100ms and do some analysis using SQL.

In particular, I'd appreciate it if you could let me know how I can change the attached TickLogger ForFXT_v4 so that I can get price data for every 100ms.

Maybe the server time only comes in seconds. So the time to be recorded on the log file can be based on Local time. I thought of adding TimeLocal() to the log output, but this comes in seconds too so cannot determin the exact time of the tick change in (ms) order.

I'm not sure this is the right thread to post, so excuse me if I'm wrong.

This is my first post.

I'd appreciate your kind assistance.

By the way, this Tick Scalper EA is very interesting. but am wondering why the TickScalper v3.44 is showing huge drawdown in RAS

TickScalper 3.44 version | Rent a Signal

Anyways, I am running this on demo to understand the behavior of this EA especially the martingale element.

Look forward to your advice on the above.

Thank you.

Files:
 

Yes, you can do that

The trick is rather simple : keep the EA in a dead loop. You can do that at 2 points : when the EA is initialized and when the start functions is called for the first time. I prefer when it is initialized because that way you even do not have to enable EAs in order to run it. The downside is that you can not access EAs properties with F7 or through the popup menu.

The main code within the init section would be something like this :

while(true)

{

DoTheJob(); Sleep(100);

if (IsStopped()) break;

}

Attaching you an EA that does something completely different (it is a timer that shows the exact time till the bar expires and it works regardless ticks are coming in or not - it was already posted on some of the elite section threads but can not remember now where exactly) but in it you can see on it as a simple example how to do that

regards

Mladen

hana_maui:
Dear Mr. New Digital and Igorad,

I have a request.

Is there any way you can activate (or recalculate) an EA every 100ms (1/10 of a second), rather than every tick?

I want to look at the price action of every 100ms and do some analysis using SQL.

In particular, I'd appreciate it if you could let me know how I can change the attached TickLogger ForFXT_v4 so that I can get price data for every 100ms.

Maybe the server time only comes in seconds. So the time to be recorded on the log file can be based on Local time. I thought of adding TimeLocal() to the log output, but this comes in seconds too so cannot determin the exact time of the tick change in (ms) order.

I'm not sure this is the right thread to post, so excuse me if I'm wrong.

This is my first post.

I'd appreciate your kind assistance.

By the way, this Tick Scalper EA is very interesting. but am wondering why the TickScalper v3.44 is showing huge drawdown in RAS

TickScalper 3.44 version | Rent a Signal

Anyways, I am running this on demo to understand the behavior of this EA especially the martingale element.

Look forward to your advice on the above.

Thank you.
Files:
eclock.mq4  8 kb
 

Thank you for your kind support

Dear Mr. Mladen,

Thank you for your kind support.

Wow you are very fast.

Sorry for the belated response from my end because of time diferrence.

Let me try to change the code and see how it works.

Also, I love all your great indicators.

Thank you.

 

TickScalper_v3.44 EA version.

More safe settings.

M1 timeframe.

EURGBP

===============

All the versions: https://www.mql5.com/en/forum/176044/page3

Version #3.44 with the settings: https://www.mql5.com/en/forum/179720/page8

 

TickScalper_v3.44 EA version.

More safe settings.

M1 timeframe.

EURGBP

===============

All the versions: https://www.mql5.com/en/forum/176044/page3

Version #3.44 with the settings: https://www.mql5.com/en/forum/179720/page8

 

TickScalper with FXCM broker:

EURUSD:

USDCHF:

===============

All the versions: https://www.mql5.com/en/forum/176044/page3

Version #3.44 with the settings: https://www.mql5.com/en/forum/179720/page8

 

TickScalper_v3.44 EA version.

More safe settings.

M1 timeframe.

EURGBP

===============

All the versions: https://www.mql5.com/en/forum/176044/page3

Version #3.44 with the settings: https://www.mql5.com/en/forum/179720/page8

 

TickScalper with FXCM broker:

EURUSD:

USDCHF:

===============

All the versions: https://www.mql5.com/en/forum/176044/page3

Version #3.44 with the settings: https://www.mql5.com/en/forum/179720/page8

 

TickScalper_v3.44 EA version.

More safe settings.

M1 timeframe.

EURGBP

===============

All the versions: https://www.mql5.com/en/forum/176044/page3

Version #3.44 with the settings: https://www.mql5.com/en/forum/179720/page8

Reason: