Parameters and blocks not getting updated on mt4
-
I am using chrome to make changes of my project continually ..am saving the output file directly into the experts folder..restarting mt4 and reattaching the expert but i see the blocks not getting updated as per the changes i made...what could i be doing wrong?
Secondly am going to do intraday trading on daily charts applying 1:1 r/r ...so am trying to setup hidden stoploss
PASS>IF A TRADE IS RUNNING>CLOSE PROFITABLE/LOSABLE TRADES(30 PIPS)>SEND EMAIL
with this setup am getting frequent email notifications even when no trade existed nor hit loss/profit..is this correct way...if am wrong please correct me
right now am experimenting with
PASS>PIPS AWAY FROM OPEN PRICE(ABSOLUTE)>CLOSE TRADES>SEND EMAILThirdly is it possible to set a dynamic hidden SL/TP which varies with volatility
eg.averaging the daily ranges of the past two daysFourth is... IS it mandatory to start a group of blocks with PASS block?
Thx
Ravee -
http://fxdreema.com/shared/tZ0R6OGse
getting frequent false email alarms with this setup
-
Windows Vista, 7 and 8 have some strange features that can cause weird effects sometimes. Check here under "In case of problems" to see if you have one of these: http://fxdreema.com/desktop
Those blue blocks pass always, no matter if there were closed trades or not. And this is ok in another setups. Maybe I have to place additional output or just make this one to work only if some trades were really closed... but this can ruin someone's EA without noticing. Now they pass no matter what.
There is a group of pink blocks that is more customizable, but needs more attention and understanding. Read the description of "For each Trade" for more details of how to use these blocks. They can be used to modify SL dynamically.
Also try "Variables". With these things can become even more customized... and complex as well :))
If you remove "Pass" block it will be the same.
-
__Windows Vista, 7 and 8 have some strange features that can cause weird effects sometimes. Check here under "In case of problems" to see if you have one of these: http://fxdreema.com/desktop
Those blue blocks pass always, no matter if there were closed trades or not. And this is ok in another setups. Maybe I have to place additional output or just make this one to work only if some trades were really closed... but this can ruin someone's EA without noticing. Now they pass no matter what.
There is a group of pink blocks that is more customizable, but needs more attention and understanding. Read the description of "For each Trade" for more details of how to use these blocks. They can be used to modify SL dynamically.
Also try "Variables". With these things can become even more customized... and complex as well :))
If you remove "Pass" block it will be the same.[/quote:3am7cmy8]
Thank you. the machine am working on is a vps and loaded with win server 2008 with i think is equivalent to win 7 ...perhaps UAC issue ..i sorted it out.
Noob question:Can i make changes to the parameter values on the fly(while attached on the chart)..or do i have to unload and reload then set/load the values again?
NQ2: Can two different currency pairs have the same magic number?
i tried the IF TRADE RUNNNING>PIPS AWAY FROM OPEN PRICE>CLOSE TRADES>SEND EMAIL ...it does the trick purfecto but to certain extent.. it does exactly what its descripto says ...since it just follows the pip distance for the current market price being set ASK FOR BUYS AND BID FOR SELLS...thus if my pips away is set at 10, then winners close at (pips away- spread) & losers close at (pips away+ spread) ..not a good idea to go this way especially in the long run...
So i need just need to get notified by email when the floating profit/loss reach my defined target
since the CLOSE PROFITABLE/LOSABLE TRADES blocks work flawless..its just that i felt the need to detour the notifications to elsewhere ..is it possible to have a block to "check floating profit/loss in PIPS" as the existing pink check profit/loss block didnt have the "pips" option.thanks in advance
Regards
Ravee -
You can always try what will happen if you change parameters on the fly. It works, but I don't remember if there was something that will not changed.
Magic number is a property of all trades and pending orders, just like SL or TP, it does not depend on any other property.
If you mix pink blocks with blue blocks... just read the description of "Foe each Trade" block to get more clear what is going on. Also read the description of "Close trades". In MetaTrader 4 there can be so many trades at once, if someone wants to do something with one of them, he must point to that trade and not any other trade.
SL and TP size of a single trade/order can be checked with "Condition" when "For each Trade" is placed somewhere above. Find the special pink category in "Condition".
Also play with "on Trade" event, it can be used for some interesting purposes.
Blue blocks always pass. Read the description of any block to check what it's outputs are programmed to do.
-
__You can always try what will happen if you change parameters on the fly. It works, but I don't remember if there was something that will not changed.
Magic number is a property of all trades and pending orders, just like SL or TP, it does not depend on any other property.
If you mix pink blocks with blue blocks... just read the description of "Foe each Trade" block to get more clear what is going on. Also read the description of "Close trades". In MetaTrader 4 there can be so many trades at once, if someone wants to do something with one of them, he must point to that trade and not any other trade.
SL and TP size of a single trade/order can be checked with "Condition" when "For each Trade" is placed somewhere above. Find the special pink category in "Condition".
Also play with "on Trade" event, it can be used for some interesting purposes.
Blue blocks always pass. Read the description of any block to check what it's outputs are programmed to do.[/quote:1m2a1tac]
Just wanted to let you know,for the past 24 hrs am unable load the web version of the generator both on my vps and laptop back home as well.it just says loading...

I used CLOSE TRADES with group# as filter so no worries
...but then again i got a clear picture from your answer, as its an uber simple project i was hesitant to use the loops not to make it complicated as with loops cpu load will be a bit higher.just wanted to keeep it real simple.just one trade per day/pair.whats "levels" in the pink option SL/TP in condition block, i'm positive abt linkinng the condition condition blocks output to email so i get timely alerts on floating profits/loses

thank for ur patience

-
Noooo, with using pink blocks it can be more optimized, if one loop is used for many purposes. The problem is that the number of blocks becomes bigger.
There are loops everywhere - in every blue block, in every brown block, and this is because in MT we can work with multiple trades at once and in order to control them we must select those that we want to work with.SL and TP are levels in fact, price levels, like 1.3456. There are options to get SL and TP as pips, but sometimes this is not a good idea. If SL as pips is the difference between OpenPrice and StopLoss, then what is SL as pips if after trailing we have our StopLoss on the opposite side of OpenPrice?
But to just check if there is a SL or TP, it is enough to check if they are > 0.