Coding help - page 501

 
candyman752:
hello mladen please help with compiling errors on the below. By any chance do you have suggestion for any good combined stochatic RSI MTF EAs

Hello mladen will you be be to debug

Files:
 
mladen:
candyman752

Parabolic SAR does not repaint

As I told you : that EA uses centered TMA. Centered TMA recalculates/repaints

hi malden

been trying to go through the code of the EA to see which indicator is the centred TMA .have not been able to figure it out. is itpossible to delete the code that relies on the centered TMA and the EA still execute order?

 
candyman752:
hi malden been trying to go through the code of the EA to see which indicator is the centred TMA .have not been able to figure it out. is itpossible to delete the code that relies on the centered TMA and the EA still execute order?

candyman752

In the "wapen" Ea there is a function called calcTMA - that is the centered TMA. And it can not be removed from the EA since it is a part of the conditions

 

hello mladen

could you clear compiling errors in the attached

Files:
 
candyman752:
hello mladen could you clear compiling errors in the attached

Here is a version without compiler errors : sto_m5xm15xm30_v2.1.mq4

__________________

Check it, since the version you posted could not work at all in a normal mode (stochastic was wrong as well as the return results from the SignalExit() function that did not work at all)

Files:
 

Is there some example how to make simple code execution time timer?

 
apprentice coder:
Is there some example how to make simple code execution time timer?

Simplest way would be to place :

uint startTime = GetTickCount();

at the beginning of the code you wish to check, and then :

uint elapsedTime = GetTickCount()-startTime;

at the end. It should (with a couple of milliseconds overhead) give you the elapsed time in milliseconds

 
mladen:
Simplest way would be to place :

uint startTime = GetTickCount();

at the beginning of the code you wish to check, and then :

uint elapsedTime = GetTickCount()-startTime;

at the end. It should (with a couple of milliseconds overhead) give you the elapsed time in milliseconds

Great. Thanks

 

This (Overlay and Spread Charts for 2 symbols) displays phantom values at the bottom of the chart, Can someone check it?

overlay_and_spread_charts_for_2_symbols.zip

 
tampa:
This (Overlay and Spread Charts for 2 symbols) displays phantom values at the bottom of the chart, Can someone check it? overlay_and_spread_charts_for_2_symbols.zip

It seems that that indicator has quite a few coding bugs - not sure that it can be fixed using the logic that the authour is using