smallcat replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Hi G, i do not understand this part of logic. We do our Long entry point at Peak, Not at Trough? And we exit that Long trade at Trough, Not at Peak?
Could you pleae explain the reason why we do that? Or i have missed understood it?Thanks
smallcat replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Attached is new version of the PenguinEA Changes in logic were made based on GG53 ideas in the quoted posts. V. [/quote]
Thanks a lot Vlan
will test it … if it is without trend rule, the result is good … then with trend, it will be really great …. 
smallcat replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Thanks bro, really great information. About hidden buffer, what is it actually? Just define it as an array, but not set is as SetIndexBuffer() at init() function ?
smallcat replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Thanks G & simplex. So if we have some buffers (arrays), and we use IndicatorCounted(), is it better to check for New Bar coming, then we shift the content of the array ? We add a new space to array for storing the new result later. In this case, we are only work with last (current) candle, which will safe CPU load … or ? Unfortunately TVI by o…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Great! Looking forward to see how it is working. Yes its a shame MT4 EA’s cant be backtested using strategy tester across multiple currencies as MT5. I saw SL is also ATR based. This is intresting. I have been testing this method many times before but I never got it to preform better than a fixed value in the long run. So im exited to see if it c…[Read more]
MTH2014 replied to the topic MTH – Star Skull and Smiley Indicator (lite version) in the forum Indicator discussion 10 years, 6 months ago
Hi Guys.. BE CAREFUL.. Market start to ‘dance’, it’s Luring time… lol..

MTH
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Please add another condition for exiting the pre-check before trade entry:
//Don’t trade large bars
//if((High[1]-Low[1])>2*ATR) return;We can debate if it should be double or more, or make it a user parameter.
Thanks,
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Please add another condition for exiting the pre-check before trade entry:
//Don’t trade large bars
//if((High[1]-Low[1])>2*ATR) return;Thanks,
G.
MTH2014 replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Thanks G & simplex. So if we have some buffers (arrays), and we use IndicatorCounted(), is it better to check for New Bar coming, then we shift the content of the array ? We add a new space to array for storing the new result later. In this case, we are only work with last (current) candle, which will safe CPU load … or ? Unfortunately TVI by o…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
I’ve added more logic to the current one, using my version of CS, and it’s doing more than Ok on live (demo acct) trades.
The problem is that CS can’t be accurately backtested (MT4 backtest consider only current pair currencies), so I suggest we leave CS as a last addition, although I still consider it as major addition to this EA.
G.
smallcat replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Yes, sorry for making you confused. I did not write it clearly (on mobile phone it is a little difficult for me, old eyes :) … If i just take the whole Bars, it will be very very big on TF M1, and grows rapidly if a new candle appear, this is not good.
So, I think the max size of the array is the size of LookBackBars (historical) bars, may be…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Please add reverse entry logic to EXIT trade if happened before SL.
(i.e. if Trough becomes Peak and we entered Long trade – than if it turns back into Trough again -> we exit trade.)
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Please add reverse entry logic to EXIT trade if happened before SL.
(i.e. if Trough becomes Peak and we entered trade – than if it turns back into Trough again -> we exit trade.)
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Sorry, my BUG…
calcLOT designed to receive SL in POINTS and not PIPS, so we need to divide recieved variable /10.
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Sorry, my BUG…
calcLOT designed to receive SL in POINTS and not PIPS, so we need to multiply recieved variable x10.
G.
smallcat replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
@simplex, yes i have read it. Thanks, it is nice information like :
i = Bars – IndicatorCounted() – 1;
Or limiting bars with :
if (i > LookBackBars – 1)
i = LookBackBars – 1;
But i mean the iMAonArray. The source must be an array, and the results are store in array (sorry not wrote it clearly). The source content will be bigger/more if a neq…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Currency-Strength is a good indicator to add to our system, but please move the discussion of its inner build to the proper thread. Suggest one when it is finished and bug free – with proper way on how to use it to enhance our current EA.
G.
smallcat replied to the topic Trading made REALLY Simple in the forum Development 10 years, 6 months ago
Hi mate,
May i know what is the different between _Point and point ? Does _Point calculates the 2/3 digits & 4/5 digits broker ? I mean, may be if it is 3 or 5 digits broker, _Point = point * 10 ?
Thanks
smallcat replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 6 months ago
Thanks G & simplex. So if we have some buffers (arrays), and we use IndicatorCounted(), is it better to check for New Bar coming, then we shift the content of the array ? We add a new space to array for storing the new result later. In this case, we are only work with last (current) candle, which will safe CPU load … or ?
Unfortunately TVI…[Read more]smallcat replied to the topic MTH – Star Skull and Smiley Indicator (lite version) in the forum Indicator discussion 10 years, 6 months ago
Hi Brother,.. lol of course you are not wrong.. this FOMC day with highly potential that the fed will change their interest rate.. market will move very volatile, so beware for all of you who use huge leverage account and relative spread, sometime hard SL or trailing stop also not work, and your MT4 platform freeze..lol. Remember when Swiss Franc…[Read more]
- Load More