- Search Metals Mine
-
nubcake replied Jan 2, 2011im into resurrecting threads tonight. i believe the answer is histograms (which work differently on the main chart window compared to how the help file describes which is for sub-windows)... ala heikin ashi.
How to Draw Objects ABOVE chart?
-
nubcake replied Jan 2, 2011sorry, resurrecting an old thread that i came across. i suspect the way to go about this is only by using a script which you drag and drop onto whichever chart you wish to affect. the code would be extremely simple, but the whole concept is not as ...
Deleting Objects on only one chart
-
nubcake replied Jan 2, 2011is it safe to assume those other vertical lines are standard chart period separators or some other indicator and have nothing to do with this? from what you have shown it appears you can just do what i've said and simply recalc the trendlines each ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011i have a sneaky suspicion you have gone about this all wrong and should just update the trendline each tick. if you NEED to know that the vert object has been moved so as to perform some OTHER scripting functions as well then so be it, else if it is ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011i'm a bit tired. my posts are getting loopy. the global variable is for if you somehow require storing the data whether you keep the indi loaded or not. otherwise, you don't need them and can just test the objects time value against a variable you ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011OHHH well i don't think you said THAT. easy. look up global variables. as long as you don't wait something like a month (can't remember, but something like that) before accessing the global variable it will be available regardless of if you shutdown ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011actually, i think i just confused myself. i think what you WANT to do is store the last position of your vert bar, and then simply test if it is no longer in that position at which point you update the variable keeping track of it's time1 and you ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011you arent updating timeco_1. you read it in, then print your statement, then set a new object position to whatever upper_price is. timeco_1 will never change value so each time the test runs you will keep resetting the position to upper_price. at ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011without seeing any code it's hard to guess what you are doing wrong. are you using objectmove correctly (i believe you need to set point ZERO). you might find it simpler to just use objectset and use the time1 property. you might also be specifying ...
How do you move objects with mql4?
-
nubcake replied Jan 2, 2011i believe so. can you write mql, or are you asking for it to be scripted for you? if you know how to script then : track if the period has changed to avoid constantly thrash the cpu for no reason. if it has changed then use objectstotal to iterate ...
Can change trendline properties when switching timeframes?
-
nubcake replied Jan 2, 2011what? what does a 'ladder interface' have to do with placing orders in mt4? i think you are confusing what is allowed in stock trading versus the restrictions mt4 brokers put on their clients when sending orders. if your broker doesn't allow ...
Ladder interface
-
nubcake replied Jan 2, 2011yeah it would have been nice to have had a heads-up that the spread situation was going to change. i'm just of the opinion that most places and people are not specifically trying to screw other people over and mistakes get made no matter what, so ...
variety of resources what works and what doesn't
-
nubcake replied Jan 1, 2011again, haven't looked so you may have done something like this already... you might do well to use 2 histo's and a level. normal colour histo and penetrated colour histo. if penetrated then set normal histo to 0 and the special penetrated histo to ...
Ok, Lets do it - Developing a Highly Profitable System
-
nubcake replied Jan 1, 2011simple is sometimes much better. if it seems like a pain in the ass you are probably doing it wrong (same goes from scripting / coding HAZZAH!!!)
Ok, Lets do it - Developing a Highly Profitable System
-
nubcake replied Jan 1, 2011i haven't looked at the indi so i could be off-base. why don't you save yourself the hassle and just make it a separate window indi, and use a histogram or line (doesn't matter) that show 0 to candleheight alongside a level set in the window... just ...
Ok, Lets do it - Developing a Highly Profitable System
-
nubcake replied Jan 1, 2011depending on what you signed-up for it might be well within their reasonable scope to do whatever they want with the spread, but i wouldn't know so just throwing that out there... plus, it's not their fault an ea doesn't do the necessary checks. an ...
variety of resources what works and what doesn't
-
nubcake replied Jan 1, 2011no prob brother. fresh eyes can help. edit : further to that, since i appear to have been correct... don't forget to do another for loop and add-up all of the openprofit values for all open orders, else again you will just end-up with bogus info ...
while loop in EA causes 100% CPU
-
nubcake replied Dec 31, 2010grain of salt. i don't care enough to run this code on my machine to debug it... and i may be mis-reading what is posted here... but my cursory look at the quoted code suggests to me that you are missing an orderselect before trying to access ...
while loop in EA causes 100% CPU
-
nubcake replied Dec 28, 2010you misunderstand... i want the positions to STAY that way each time i restart mt4. it resets the positions.
Trade Window Cell/Column Widths
-
nubcake replied Dec 28, 2010yeah not the window size, the column widths. i just have to conclude that there is no easy way to get around this oversight in mt4.
Trade Window Cell/Column Widths