custom code
-
why when i transfer copy my custom code which is working fine in the older build cant work now in the new build?http://snag.gy/hgtUI.jpg
http://snag.gy/gxO5G.jpg -
It's hard for me to explain what is going on. It's the way Variables are used in the source code. I will look how to fix that and until then... One thing that will work is to rename TrendStrength and TrendOscillator Variables to something else. But looking at this code, if you don't need those variables outside this block, I can suggest to define them locally. Or why not using those indicators in "Condition"?
-
Is it working now?
-
yes,i think it is working now.
also a few more things, http://snag.gy/POWQR.jpg
the blocks keep getting shifted out of place whenever i open the variable close to the side of the screen resulting in the movement of the block. happens often and sometimes the block disappear then i would need to refresh the page to get it back. no functionality problem just a gui problem.
sometimes copy pasting blocks from another project will result in double pasting like this
http://snag.gy/fKQ4w.jpg
the connected block will appear but the unconnected version will appear beside too which have to be deleted. again not a major issue just gui.
I can use with these problem as the functionality of fxdreema are great.and when will the local desktop version be available for the new blocks.(No trade nearby) the new blocks looks good.
I find local version faster and less troublesome to use when saving files as i make constant small changes. -
When you open variable? Which variable?
I opened this and that near the edge of the screen and my connections look normal.
What problems with saving files do you have?
I am waiting for those guys who make the software I use to build the local version to produce their new version. They said October and October is almost gone... who knows -
hmm i cant seem to reproduce the problem now. it was a frequent problem yesterday though. i will let you know if i know how to replicate it again.
the saving file is just an extra step to be done. need to click save as then click ok etc.
and sometimes i will have to alternate tab twice to make it show the replace ex4 dialogue box. this might be my computer problem though.
well it happened again. but i am not sure how to replicate this problem.
http://snag.gy/WVNvy.jpg -
I use this for Chrome and I don't have problems with saving https://chrome.google.com/webstore/deta ... mkdhjdgdkp
-
__
http://snag.gy/WVNvy.jpg[/quote:24upg9z9]Are these blocks connected to other blocks in other working fields? For example bloks from "on Tick" connected to blocks from "on Init"? This is something that I have noticed before in the local version, but on the web version I think it should not happen... but who knows. Is this the problem really or some block is simply missing in this screenshot?
-
http://snag.gy/WVNvy.jpg[/quote:hr4rndpm]
Are these blocks connected to other blocks in other working fields? For example bloks from "on Tick" connected to blocks from "on Init"? This is something that I have noticed before in the local version, but on the web version I think it should not happen... but who knows. Is this the problem really or some block is simply missing or moved somewhere else?[/quote:hr4rndpm]
-
well it might be moved some place far. the problem usually occurs when i open the block with variable set in it and i would have lots of parameters in it which shifts the window. like now its working fine so the fxdreema shift the window to show all the variables at the side. However, sometimes this does not occur but the block was shift instead which result in that hole there maybe. and the block will remain in the new position and i have to shift it back.
its so weird that every time i check this forum and try to recreate the problem, it would not appear. but while i am working on the project it would constantly appear.
my guess is that after i update a block, something broke and resulted in the window not shifting correctly but it shift the block instead.edit 1: i think the problem occurs after i connect or disconnect the block from each other.
-
I also tried different things, no problems here.
What browser do you use? Also, send me screenshot when this happens, but including scrollbars. Maybe some things are scrolled, but others not. -
i will just post screenshot whenever i encounter it. i dunno what caused it as it appears to be random but occurring frequently. im using chrome browser.
http://snag.gy/aCXLR.jpg
http://snag.gy/ryg9l.jpg -
I am trying to open the same block from the same strategy, it works for me
It's probably some JavsScript error I am not aware of and it can be detected with Developer Tools in Chrome, but this is probably not for you -
https://vid.me/HUsw
a short video showing the problem. this may happen first then things go messy after a while.
btw, do you have an option to extract the average spread value from the bottom left corner of the ea. i want to use the value so it would be good if i can store it in a variable. -
I still don't have problems

I don't have this option. I'm not sure how helpful can this be. Not it keeps information based on the whole time the EA is working and I was thinking that I should change this. Maybe to keep information only for the last few hours. I will write here in my to do list to make something about this.
-
https://vid.me/Pom6
spot another bug shown in the video.
its hard to tidy up my project because i have to keep readjust these
-
I tried clicking on your block in your project and nothing. What browser do you use?
-
I'm using chrome. Thisdoes nothappen when I use Firefox though
-
Well, I also use Chrome, it is my main development browser. What version is yours? I'm gonna try it to my old laptop if Chrome is still some older version there, but modern browsers should be always the newest version anyway.