MTH2014 replied to the topic MTH – Star Skull and Smiley Indicator (lite version) in the forum Indicator discussion 10 years, 4 months ago
Hi Brother.. lol, my old brother from more than 5 years ago..

Nice to met you here.. , feel free to contribute and share your knowledge brother..
May Allah Bless You and your family and friends with healthy, wealthy and strong faith..
Have a nice week end
MTH
Bartleby replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
while my testing , The auto Lot calculation didn´t worked correct. The Lotsize was too big and it couldnt open trades in the strategy tester. I changed a value from 100 to 1000.. highlighted it .. now it works. maybe some help for people with the same issue.
// Auto Lot Calculation
double CalcLot(int StopLoss)
{
StopLoss = StopLoss /…[Read more]
MTH2014's profile was updated 10 years, 4 months ago
MTH2014 replied to the topic MTH – Star Skull and Smiley Indicator (lite version) in the forum Indicator discussion 10 years, 4 months ago
Hi Guys.. BE CAREFUL.. Market start to ‘dance’, it’s Luring time… lol..

MTH
MTH2014 replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 4 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]
MTH2014 replied to the topic MTH – Star Skull and Smiley Indicator (lite version) in the forum Indicator discussion 10 years, 4 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 Swis…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the Start loop pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
one of the options i did with mine was to add (base…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
one of the options i did with mine was to add (base…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
one of the options i did with mine was to add (base…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
one of the options i did with mine was to add (base…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
one of the options i did with mine was to add (base…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
one of the options i did with mine was to add (base…[Read more]
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to code a base str spaghetti
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
anyways the adjustable reset is cool to play with. its always fun to make a base hybrid
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
not the command itself but the way it ran. return 0 must have broke prev_calculated. that’s why it kept running the print statement over and over until the OnInit pooped
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
the setAllRaw functions are eating up big chunks.
all the loops seem odd. i would have to rewrite it to how im use to seeing it.
prev_calculated == 0 still seems strange. it runs every tick for 46 ticks and quits but the prev_calculated is still 0 when it quits wtf.
hannele and
Gringoh are now friends 10 years, 4 months ago
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
if (prev_calculated == 0) ?
or is that meant to run every tick
oh maxbars isnt used in the loop. also i like to do this in case they dont have enough history for the maxbars set
if (maxBars>limit-1)maxBars=limit-1;
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
if (prev_calculated == 0) ?
or is that meant to run every tick
oh maxbars isnt used in the loop. also i like to do this in case they dont have enough history for the maxbars set
if (maxBars>limit-1)maxBars=limit-1;
Lowphat replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
if (prev_calculated == 0) ?
or is that meant to run every tick
oh maxbars isnt used in the loop. also i like to do this in case they dont have the history for the maxbars set
if (maxBars>limit-1)maxBars=limit-1;
- Load More