How to code? - page 331

 
daminda1989:
I need to coding help for my ea. condition like this.

"After reach set equity target need to close all open orders & don't need to place any new trade when i re-set equity target."

please some one help me...

thanks

daminda1989

Did you check this thread : https://www.mql5.com/en/forum/177401 or this thread https://www.mql5.com/en/forum/181179

 
mladen:
daminda1989 Did you check this thread : https://www.mql5.com/en/forum/177401 or this thread https://www.mql5.com/en/forum/181179

thanks for your reply sir. but i need code segment to enter my trading ea. because i use 2 ea. 1 ea for trading & another ea for close trades after reach equity target. but after close trades trading ea place new trades. so i need to enter code to my trading ea to stop placing new trades.

 
daminda1989:
thanks for your reply sir. but i need code segment to enter my trading ea. because i use 2 ea. 1 ea for trading & another ea for close trades after reach equity target. but after close trades trading ea place new trades. so i need to enter code to my trading ea to stop placing new trades.

daminda1989

Code how to close all orders you can find here : https://www.mql5.com/en/forum/173561

 

Hi,

is there a posibility to get the values of the upper and the under line from the regression channel of the OBJ_REGRESSION?

I can only get the values of the points from the middle line, but no others.

Have I missed something?

 
sunshine:
Hi,

is there a posibility to get the values of the upper and the under line from the regression channel of the OBJ_REGRESSION?

I can only get the values of the points from the middle line, but no others.

Have I missed something?

sunshine

You can not access the voues of those, Metatrader did not predict an property that would allow us to do that with regression channel

 

[REQ] Code an indicator to place line when this formation created

Hello Coders!

Wondering if anyone could code an line indicator to paint the line based on "Milky" price action formation:

Pip Milking Strategy - Urban Forex

Would love to see some creations upon this

Thanks a lot!

 

How to get the textual part of enum declared types in the code?

 
checkin:
How to get the textual part of enum declared types in the code?

Did you try EnumToString() function?

 
mladen:
Did you try EnumToString() function?

I did but it returns the name of the enum value, not the part that I define using the comment of the enum value

 
checkin:
I did but it returns the name of the enum value, not the part that I define using the comment of the enum value

As far as I see, there is no function that is predicted to do that

Reason: