@javaai
Active 10 years, 3 months agosmallcat replied to the topic MTH – Star Skull and Smiley Indicator (lite version) in the forum Indicator discussion 10 years, 4 months ago
Hm …
I am afraid she will go to south again , before running to north … ( but i hope i am wrong …)
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
@slicken: thanks for your fast reply!
So that means if function CSInit() finds an ob/os situation for symbol USDEUR, it will turn this invalid symbol around to EURUSD?
I failed to identify that part. Could you point me there?
s.
EDIT: and could you possibly post your indicator code so I can compare the results with my posted CIX?
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
@slicken: thanks for your fast reply!
So that means if function CSInit() finds an ob/os situation for symbol USDEUR, it will turn this invalid symbol around to EURUSD?
I failed to identify that part. Could you point me there?
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
@slicken again:
I did not run your EA. But from reviewing your
CSInit()a little more, I would say that one issue is the base algorithm:For each pair involved you compare the value of a fast MA and a slow MA, and this comparison is a simple difference, with JPY weighed with a factor of 0.01. This will not provide precise results. It does not…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
I gave your CS code a short review (without drilling deeply into detail). In your code you commented:
InitCs(); // ... need fix and more work‘need fix and more work’ is not very precise. Are there bugs? Is it lagging too much? Too many false signals? Runtime errors? … Please provide more detail! Just guessing for debugging is t…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Ok, as announced earlier my ‘volume per session’ contribution to start our baby.
For the purpose of this thread, I stripped my volume per session indicator down to the minimum and placed the function set in an MQH library file for convenient linking to the EA.
So the indicator file may just act as an example for using this little lib. @vlanfx:…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
I seem to remember him posting earlier this year that he would change to a new day job, which would not leave him much of spare time for the forum. I hope he’s well, too.
s.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
@gg53: ok, so I’ll prepare my volume per session for posting.
@vlanfx: I reviewed your EA this morning, identified your function
IsPeakThroughChange()to be the one that decides when to go long or short. Did you use this function in an indicator to visualize its results? If yes, would you share the code for comparison?Background: I wrote a…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
@vlanfx: that’s correct! Like I posted before, the volume function set is useless on pure H4. On H4 there are 6 bars per day, and dividing those 6 bars per day in 4 session per day makes no sense. Even H1 is too coarse, imo.
The function set I coded yesterday is based on @gg53‘s idea of averaging volume per trading session, like discussed over…[Read more]
simplex replied to the topic Use R in trading in the forum Development 10 years, 4 months ago
There was no error message! I just wanted to check some limits, expected an error message, and got a correct result.
I converted matrix M into data frame MD and table MT. I expected the syntax x[i,j] to work on a matrix and a data frame, but not on the table, because this is organized in a database like manner and not a typical matrix or pivot…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
@gg53: ok, I did not keep in mind that the EA should work on H4. On H4, session averaging with 4 session per day will hardly make sense. I would consider M30 the upper limit, better M15.
But anyway: maybe it would make sense to check on lower timeframe (M5 or M15) whether there’s sufficient volume for an entry. Better entry timing, lesser…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
I did not follow each detail of this topic, so maybe I’ll suggest something that has been suggested before: what about a volume filter, like discussed elsewhere with @gg53?
I should be able to turn my Volume_Per_Session indicator into a set of functions. I think it would consist of three functions:
a function that determines which session is…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
I did not follow each detail of this topic, so maybe I’ll suggest something that has been suggested before: what about a volume filter?
I should be able to turn my Volume_Per_Session indicator into a set of functions. I think it would consist of three functions:
a function that determines which session is active (London, London & New York, New…[Read more]
simplex replied to the topic Use R in trading in the forum Development 10 years, 4 months ago
Thanks again, @Anti!
I had saved the workspace from this lesson, so I had the matrix, table and dataframe at hand. When accessing the table in the same way as the matrix and the dataframe, I expected an error message. But instead the same cell was accessed, obviously the table was implicitly pivoted.
The syntax used isn’t similar to anything…[Read more]
simplex replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
CIX version 2.2 here:
fixed bug that caused extremely high cpu consumption
added feature to check for sufficient bar history of all symbols involved
added feature to display only current symbol including differential lineHope that this new version will make some of you happy!
@gg53: by the way, since version 2.0 OOTB choice of parameter inde…[Read more]
simplex replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
This indicator keep on ‘shouting’.. I guess that is the problem..
Not really – this is caused by the bug, but it’s not the reason for the bug.
all the loops seem odd.
I don’t think so!
prev_calculated == 0 still seems strange.
No, this
ifis intended to perform calculations that only should run when loading the indicator, and…[Read more]simplex replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
This indicator keep on ‘shouting’.. I guess that is the problem..
Not really – this is caused by the bug, but it’s not the reason for the bug.
all the loops seem odd.
I don’t think so!
prev_calculated == 0 still seems strange.
No, this if is intended to perform calculations that only should run when loading the indicator, and…[Read more]
simplex replied to the topic A Flexible And Compact Currency Strength Indicator in the forum Trading Systems Discussion 10 years, 4 months ago
@Lowphat: not quite, but you’re close!

simplex replied to the topic Q & A For MQ4 Coding Newbies in the forum Development 10 years, 4 months ago
Found a nice and clear article about using and abusing inline comments in your code:
http://www.yacoset.com/Home/inline-documentation
Recommended reading!
s.
- Load More