Coding help - page 479

 

hello,

can anyone help to make following indicator fx prime v2 final to show as histogram.

attaching below the indicator and its image.

thanks in advance.

fx_prime_v2_final_new.mq4

for example i want to show it up as is seen histogram of STLM indicator in below image.

Files:
12_1.png  60 kb
23.png  60 kb
 
brijeshsinh:
hello,

can anyone help to make following indicator fx prime v2 final to show as histogram.

attaching below the indicator and its image.

thanks in advance.

fx_prime_v2_final_new.mq4

for example i want to show it up as is seen histogram of STLM indicator in below image.

It can not be made the way stlm is displayed

It does not calculate values the way you show the example but is using values from different indicators to determine the trend.

 
sulaimoney:
Hello Mladen,

Im trying to access the Date(not time) for each bar for use in a indicator, but cant seem to get it right.

Is there a similar call for date like iTime,iVolume etc.

The logic is on every new day execute and draw to chart

Couldnt get any of these to work in the indicator I.e draw for the previous days.

{ static datetime lastbar;

datetime curbar = Time[current];

if(lastbar!=curbar)

{ lastbar=curbar; }

CallFunc(); }

{ int Today = -1;

if (DayOfWeek() != Today1)

{Today1 = DayOfWeek();}

CallFunc(); }

{ int Today1 = -1;

int var1 = TimeDayOfYear(var2);

int var2=iTime(NULL,PERIOD_D1,0);

if (var1 != Today1)

{Today1 = var1;}

CallFunc(); }

Hello Mladen , can you help with the right function or a reference to any article that might be useful .. Thanks

 
sulaimoney:
Hello Mladen , can you help with the right function or a reference to any article that might be useful .. Thanks

If you are trying to discard hours and seconds, this is one way :

StringToTime(TimeToString(Time,TIME_DATE))

It will remove all but the year,month and day - hours and seconds will be 0

 

thanks mladen for reply

 
mladen:
If you are trying to discard hours and seconds, this is one way :

StringToTime(TimeToString(Time,TIME_DATE))

It will remove all but the year,month and day - hours and seconds will be 0

Thanks Mladen , it worked flawlessly.

 
alessandromagno:
Hello mladen i'm struggling to find how to get the pending operation of this EA (in this case, limits OP) as stealth.

Indeed this EA opens a lot of pending position and most of these will be deleted after some minutes. Many brokers don't allow me to trade in such way. Can you help me to modify this expert in order the pending position to be invisible from the broker, please?

Thank you

high-frequency_test_limit_only.mq4

Hi mladen i renew my help request if you can...

 

Hello, this indicator had alert as on screen message, so I tried to change to email alert but no joy. Please can you enable it to give email alert?

best regards,

 
zigflip:
Hello, this indicator had alert as on screen message, so I tried to change to email alert but no joy. Please can you enable it to give email alert? best regards,

Do you happen to have the original (non-decompiled) source code? If yes, please post that version so that somebody can revise it

 

ADX crossing indicator

Hi mladen.

Would you mind using your beautiful brain on the attached Indicator.

I use it as the bedrock of my trading system, & it serves me well.

But it would be so much better it it had a 'level' input.

Nothing would be 'painted' on the chart until the ADX is above the set level.

Many, many thanks once again.

Files:
Reason: