Coding help - page 136

 

This indicator (second chart) allows you to have another chart in a sub window, either same pair different time frame or any other pair you wish. Problem is I can't find a way of getting any indi's to appear in the sub window on that chart. Any help would be much appreciated. Thank you.

Files:
secondchart.mq4  10 kb
 
handy148:
This indicator (second chart) allows you to have another chart in a sub window, either same pair different time frame or any other pair you wish. Problem is I can't find a way of getting any indi's to appear in the sub window on that chart. Any help would be much appreciated. Thank you.

handy148

If you are trying to apply some built in indicator to that indicator it can not be done simply because there is discontinuity in data of that indicator and it can not be avoided (so it can not be corrected). As of applying custom indicators to that indicators : that is not possible iin metatrader 4

 

grid ea

Hi Guys,

Can you please help me making this EA

The strategy is

Current market price = x

Place pending 5 SELL orders up x price

Place pending 5 BUY orders down x price

steps can be changed

lot size can be changed

number of pending sell and buy can be changed (exp: 10 instead of 5)

Take Profit can be changed

the ea repeated itself up or down these pending orders till the profit reached

I will really appreciate your help in this matter

Thanks in Advance

wowos

 
wowos:
Hi Guys,

Can you please help me making this EA

The strategy is

Current market price = x

Place pending 5 SELL orders up x price

Place pending 5 BUY orders down x price

steps can be changed

lot size can be changed

number of pending sell and buy can be changed (exp: 10 instead of 5)

Take Profit can be changed

the ea repeated itself up or down these pending orders till the profit reached

I will really appreciate your help in this matter

Thanks in Advance

wowos

Did you check threads like this : https://www.mql5.com/en/forum/179702 or this https://www.mql5.com/en/forum/176535

 

I did and came up dry.... my idea is different

the take profit i mean here is not for one order, it's the sum of all (sell + buy ) orders

the grid strategy it will be like that:

5 sells orders

5 buy orders

5 sells orders

Current price

5 buy orders

5 sell orders

5 buy orders

And so on, the ae after hit the profit it 'll close all open orders and open new orders

mladen ,

I hope you get my idea

 

Dear Coders

Is it possible to add Color option in RSI line in attached indicator as per below:

Option : True = Color change when slope change

False = Color change when level 50 cross

Also noticed that i couldn't change Level 50 color (Default-Gray) through tab!

Thanks for any help

secretcode

Files:
allrsi_v2.mq4  26 kb
 
secretcode:
Dear Coders

Is it possible to add Color option in RSI line in attached indicator as per below:

Option : True = Color change when slope change

False = Color change when level 50 cross

Also noticed that i couldn't change Level 50 color (Default-Gray) through tab!

Thanks for any help

secretcode

Just a quick response : level 50 is set by code (fund a line in the start that goes like this SetLevelValue(0,50); and delete it or comment it out and then you will be able to add levels in the levels tab normally)

 
secretcode:
Dear Coders

Is it possible to add Color option in RSI line in attached indicator as per below:

Option : True = Color change when slope change

False = Color change when level 50 cross

Also noticed that i couldn't change Level 50 color (Default-Gray) through tab!

Thanks for any help

secretcode

secretcode

Made it a bit different. You have 3 coloring modes :
0 -> no coloring (works as before)

1 -> color changes when slope changes

2 -> color changes on 50 cross

Level 50 will be visible only if Level mode is set to 0

Files:
 
mladen:
secretcode Made it a bit different. You have 3 coloring modes :
0 -> no coloring (works as before)

1 -> color changes when slope changes

2 -> color changes on 50 cross
Level 50 will be visible only if Level mode is set to 0

Thank you so much Mladen for the great help/indicator :)

It is much better now!

Sincerely

secretcode

 

Can Someone Help Me Out.

My client want to protect his indy(not EA) before he sell it out.He want me to put a security code on the indy so that when it is install in the MT4 chart and the chart is run,a user license key form will come out and the indicator will not be able to run, the C++ dll will auto check the remote mysql server to see if the user is authorized to use the indy or not, if the user is authorized,the indy will start runinning, if not,a user registration form will come up on the MT4 chart, and the user will be able to summit his/her details to the database and request for the license.

I need someone to help me out with the C++ dll code to create the license form and the registration form,and the string that will connect to the remote mysql server and request for the client detail.And output back to the MT4 chart the results of the remote mysql search.

Reason: