Brian Kester / Publications
Forum
am i doing this right? Used ArrayCopySeries to bring highs/lows to my entry TF, now I need to get iLowest shift from higher TF
Can anyone just please verify i am on the right track before i go further-- I used ArrayCopySeries to bring the higher timeframe bar data into my lower time frame. now i want to run iLowest on that data, but i think that will return the current TF bar shift, but i need to find that higher TF bar
is there a faster way than this to get the bar number of lower low 100k bars back?
if the next lower bar is 100,000 bars back, is there a faster way than this to get the bar number? //--- starting with last closed bar, find next lower low int next_lower_low() { for(int i=2;i<Bars;i++) { if(Low[i]<Low[1]) return(i); } return(0); }
correct? variable/100 = zero?
Please explain why the MT4 result is 0 rather than .01 ? thanks. int number= 1 ; double Perc_As_Decimal = number/ 100 ; //-- result expected: .01 Print ( "result = " +Perc_As_Decimal); result = 0
Simplest way to make dynamic array 2nd dimension indexes all to zero without a loop?
I have searched and tried to figure it out for a couple weeks without making a loop and setting each index to zero individually. Is there a simple way to just clear all the indexes in the 2nd dimension? seems like Arrayinitialize() only clears the first dimension. Thanks
You know the sound when the strategy tester finishes? I think i might have found the sound sample origin
they might have sped it up x 100 but it sounds pretty close. https://www.youtube.com/watch?v=LQfzvQFTtEw
compiling EA on a chart reverts settings to default, how to stop that?
Hi, Sorry i was not able to find the answer, compiling my EA on a chart reverts external variables to default, what allows the EA on a chart after compiling to keep the settings user had input? Thanks alot
Object is ok on bigger timeframes, but is deleted on M5 timeframe
Hi masters, I have searched to no avail. I have an H1 trendline object based on iLow and iTime, it works fine switching between timeframes until i switch down to the M5 timeframe and then the object is gone and not even in the objects list! Its gojne from M1 too. What would cause that? Thanks! BK
Compiling an EA while attached to live chart deletes all the arrows
Is it normal when compiling an EA while its on a live chart that all the arrows and dotted lines showing closed orders all delete? thx
how to compact this code please?
Hi, I made this code to create increasing gaps between next orders. Can someone help me understand how to compact this? Thank you as always I appreciate it. (ps i intentionally left out index 0 in the examples) void gapsteps() { double firstgap = GapBetweenOrders * . 0001 ; double
partial close also results in a new order opening at the order open price and at the lot size of the partially closed order.
Hi, if my EA partial-closes its order, another ticket opens down at the Orderopen price of the order that just partial - closed (which should be impossible for example in the below picture ticket #20 opens at 20 pips below the bid/Ask line) It happens to me on different brokers, different computers