Forum

function pointer and function template (typedef , template<typename>)

Hello ladies and gentlemen ! Is it the case that typedef is static and we can´t use it with templates or am I using the wrong syntax here ? There is no problem when i using pre defined datatypes like this: typedef bool (*Function_pointer)( int , int ); Function_pointer p_func; bool p_more( int a

templates and arrays using OOP

Hi everybody. Although this is little silly but I started learning OOP and unfortunately is started to like too much. Now I decided my just written fully working code rewrite. All started well, but after a while i got stuck on one thing. I don´t know how to update arrays elements inside a class

problem with passing struct arrays

Hi everybody. I have a concern that I cannot find an answer to in the documentation. probably from incompetence and stupidity. Here, I have systematically filled arrays in a struct, so that it would theoretically be easier to deal with the data in the future. The only problem is that I can't pass

Timeseries array indexing using loops in EA without using indicators and oncalculate function - is it possible ?

Hi! I've been struggling with an assignment for a while now. What if you don't want to use oncalculate function and indicators but build EA without using indicators. how can indexed time series as systematically rereadable arrays be created in this case ? I know that some pre-defined functions such

The Index Counter Inside The Loop - please help !

Hello! I'm having trouble with a simple index counter in loop. I have tried every way to get it to work. * I have moved this function out of the OnTick section and called it as a separate function from there. * I have tried to include the moments of data array changes based on indexes when the index