what i think is that the y coordinate was set before the variables were initalise by the block.
look at mt4-2201.
i realised this problem only today and did not notice that it was present in the past. if this was fixed i have to modify a bit of my projects =O haha.
the change this refer to y coordinate
Posts made by edwardseer
-
RE: Draw Text Variableposted in Bug Reports
-
RE: Draw Text Variableposted in Bug Reports
i added the formula to the right block then it started to work. whatever changes made to the block in the draw text does not affect the y coordinate at all.
it seems to only do it after the block has completed its function -
RE: Draw Text Variableposted in Bug Reports
hi, the variable at the side of the block for the variable = start of the block seems to have some problems. it does not make the variable = to what i input there before the start of the block.
-
RE: detecting market symbolposted in Questions & Answers
nice! thank you! is this added to the local version too?
also, for the run block, is it possible to link the block id to the block it currently is linked to. after each time i normalise project ID and if the block ID changed i have to manually changed the block ID in these blocks. -
RE: Writing EA Name In "Comment" Field Of Tradeposted in Questions & Answers
hi, i think he meant this portion http://snag.gy/gFazg.jpg
used this portion for my ea previously. -
RE: detecting market symbolposted in Questions & Answers
is there a more efficient way of doing things ike what i did in mt4-3032?
trying to store the prefix of market symbol into a variable to use as text -
RE: detecting market symbolposted in Questions & Answers
nice thank you. did not notice this block.
-
RE: detecting market symbolposted in Questions & Answers
hi, is there a way to automatically detect if market symbol is USDXXX do this and if market symbol is XXXUSD do that other than manual keying the symbol. like the project info.
-
RE: Remove the bottom left thingsposted in Questions & Answers
how do i remove the bottom left things from showing
-
RE: partial closeposted in Questions & Answers
it happened when i used 2 of them maybe the bar was too fast resulted in multiple extra close. i will add in that once per bar maybe it will disappear
-
RE: partial closeposted in Questions & Answers
http://snag.gy/0ZsiC.jpg
i did this but the ea did this
http://snag.gy/aUwQa.jpg -
RE: add loop break for set current timeframeposted in Questions & Answers
alright ignore this thread lol all problems solved........ removed the loop (break) in my set current timeframe when condition is true which broke the ea.
-
RE: add loop break for set current timeframeposted in Questions & Answers
i dunno if thats solved but now the comments section is being overwritten by the comments of an indicator. is there any way to make the comments of the ea appear. i have set the comments block of the ea as last
-
RE: add loop break for set current timeframeposted in Questions & Answers
er nvm figured a way out by using condition timeframe>=extern timeframe haha
edit: the timeframe din work out as i thought it would. are timeframe int double or string?
i cant seem to put it into a variable so that the setttimeeframe loop can compare it against the chart timeframe -
RE: add loop break for set current timeframeposted in Questions & Answers
hi is it possible to add loop(break) for set current timeframe
-
RE: Bug in adjust field for text in local versionposted in Bug Reports
the bug also exists in the variable section when input string too
http://snag.gy/tpWPn.jpg -
RE: Memory stuffposted in Questions & Answers
converted them to use comments instead to determine what i want to find. hopefully when i test it out when market start it works as what i wanted it to haha.
also is there a way to display flag status in comments then i can remove more variables from the ea? -
RE: Memory stuffposted in Questions & Answers
if i only want "for each trade" to loop through in order group 1 trades buy and group 4 sell, how do i go about doing it?
also how do i put the condition for magic number as variable inside, u mentioned is magic start+group. but where do i get the variable for magic start or i can just type in magicstart or something.
i want it to loop through the past group1 buy and group 4 sell in chronological order and count the number of trades before it reaches a group1 buy
something like "for each trade" -> condition current trade magic number = magicstart+1 -> true -> break false-> nbuytrade=nbuytrade+1 -
RE: Memory stuffposted in Questions & Answers
the on trade event is to count the current closed trade when the trade closed. because the order of the history does not necessarily run in series tats y i had to use once it closed this trade i add this current profit/loss into a variable to not mix it up with the other trades thats running.
ya i would think there is a simpler way but its like if buy -> hedge -/-> recovery i dun want it to run the 3rd stage whenever the 2nd stage has been run before.
thanks for your help. i will try to think of how to make it work using trades.
yes i initially doubted hedge and without it everything is simple but my partner wanted it adamantly so i decided to go along with it and see how it goes but it turned out to be working well so far.