Reply

how to make external variable?

37 replies

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

7 years ago #116496

hi,

 

i am a new user of ea wizard. would like to ask how to make an external variable of lets say aligator(to change the parimeter of jaw, teeth and lips)? and how to make an external variable when to active where price from below touch jaw or teeth or lips and we sell and vice versa. thanks in advance

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #142119

Hello,

 

do you mean you want to change a variable value while EA is already active and running?

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

7 years ago #142128

hi tomas,

 

no, not when ea is already active and running, but in the process of making the ea with ea wizard.

there are  two questions:

1. how to make external variable to change the lips or jaws or lips and their shift.

2. how to make external variable to choose which one we want to active (either jaws or lips or teeth ) when price for example from below going up and touch the indicator and we open sell order. 

 

thanks

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #142161

Hello,

 

here is the example on how to use variable to use long or/and short trades and how to define shift using a variable. Let me know if any questions

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

7 years ago #142176

thanks tomas, will ask many question

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

7 years ago #142240

hi tomas, here another question, 😀

 

i make a simple ea based on aligator.  the strategy is “enter sell at  market if price cross above jaws of aligator and boolean is true  and exit market if next candle close higher than open”

but the result turn out ugly.

1. how to open only 1 trade after the price cross above jaws and close only after  next candle close higher than open? (right now the ea open and close at the same time and so many times 🙁 .

2. how to activate variable boolean is true?

 

here i attach sample of ea i made. please correct and advice. thank you alot.

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

7 years ago #142241

here is the file. thanks

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #142248

Hello,

 

check the modified file attached

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

7 years ago #142253

thanks tomas, will check it

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

6 years ago #142279

hi tomas, i ve check dan run ea into mt4. come out many “order failed, error 134. and other is exit not exacly we program. it open and close at the same time rather than close if next bar close > open (ea not close if next bar close open) in this case our order is sell. 

please advise where should i change. thanks

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #142291

Hello,

 

we need to add “isbaropen = true” into the close condition. It should exit as you need. See file attached

 

Error 134 means “No Enough Money”. Does this happen when backtesting?

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

6 years ago #142346

thanks tomas, will check it 🙂

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

6 years ago #142347

Hello,

 

 

Error 134 means “No Enough Money”. Does this happen when backtesting?

yes it happen when backtesting. this error doesnt come out anymore but new one come  😀 “test generator:unmatch data error(volume limit 12065 at 2017.03.13.00.00 exceeded)

and  what is the different if we tick true or false “support ECN brokers”. thanks

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #142355

Hello,

 

you can try to re-download M1 data in your MetaTrader. This error is related to data mismatch (volume).

 

With ECN brokers the profit-target and stop-loss are set slightly different way which is why there is the “switch” inside every EA generated 

0

nitroz

Customer, bbp_participant, community, 30 replies.

Visit profile

6 years ago #142588

hi tomas,
i try to make another ea:D . the rule is buy if rsi < 25. how to open the second or third trade if price is still 75. thanks. attactment is sample i make

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #142597

Hello,

 

you need to generate a unique magic number for each entry because you cannot open two orders with magic number 1000. You can do it by generating a random number. See the example attached

0

Viewing 15 replies - 1 through 15 (of 37 total)

1 2 3