@gg53
Active 4 years, 4 months agogg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
What about testing the EA in rorward test (demo account), with iCustom call on M1 for an hour or so?
This should give an answer to the “repainting” issue AFTER bar close.
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Yes, the initial requirement was TWO functions, one for PEAK and one for TROUGH. Hence the requirement for returning Peak()==1 and Trough()==1.
Now we are using (I hope…) just one function for both Peak&Trough, so the differentiation is redundant, and we can use 1, -1, 0 (or 3-bit logic…).
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Yes, the initial requirement was TWO functions, one for PEAK and one for TROUGH. Hence the requirement for returning Peak()==1 and Trough()==1.
Now we are using (I hope…) just one function for both Peak&Trough, so the differentiation is redundant, and we can use 1, -1, 0.
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Entry is by Peak/Trough breakout signal, regardless of bar type.
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Trade Entry point:
Currently we enter pending trade AFTER bar close.
If so, why enter on the High+xx (for LONG) or Low-xx (for SHORT)?
We can enter a Buy-Stop at the Close+xx (Long) or Sell-Stop at Close-xx (Short).
We can also enter Buy-Limit at the Close-xx or Sell-Limit at Close+xx, to get some extra pips.
(or even BOTH, as KIAD…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Trade Entry point:
Currently we enter pending trade AFTER bar close.
If so, why enter on the High+xx (for LONG) or Low-xx (for SHORT)?
We can enter a Buy-Stop at the Close+xx (Long) or Sell-Stop at Close-xx (Short).
We can also enter Buy-Limit at the Close-xx or Sell-Limit at Close-xx.
(or even BOTH, as KIAD suggested…)
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Entry point:
Currently we enter pending trade AFTER bar close.
If so, why enter on the High+xx (for LONG) or Low-xx (for SHORT)?
We can enter a Buy-Stop at the Close+xx (Long) or Sell-Stop at Close-xx (Short).
We can also enter Buy-Limit at the Close-xx or Sell-Limit at Close-xx.
(or even BOTH, as KIAD suggested…)
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
You decide which version of the Peak&Trough to use.
Once decided, I prefer the iCustom call to external indicator in initial development, and later on, once stabilized, convert it to MQH.
Make the decision among yourself based on actual results – and ignore my preference.
Let’s move on with a conclusion on this.
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
If you read my posts on the subject: I’m all in favor for MQH file in the FINAL version.
For the timebeeing I prefer iCustom calling of the external indicator, for easy debugging and visualization.
iCustom doesn’t add lines of code, because the indicator is a separate, stand-alone, MQ4 file.
Furthermore, that indicator can be used, monitored,…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
What I see on chart is a Relative-Currency-Strength, which can benefit the current EA in several ways.
It can be used as a scanner to select which currency-pairs to trade, and in which direction.
It can also be used as a confirmation to the main logic.
Both of the above features are more than welcome to this thread EA.
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
How does that indicator perform whithin the EA?
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
I don’t know how many times is needed to request the use of iCustom ….
I already stated that the Peak&Trogh function needs completion before moving on, but instead we get more and more “logic” features and additions.
This is good, and I’m not against it, but lets focus on completing the MAIN logic first !!
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
I don’t know how many times is needed to request the use of iCustom ….
I already stated the the Peak&Trogh function needs completion before moving on, but instead we get more and more “logic” features and additions.
This is good, and I’m not against it, but lets focus on completing the MAIN logic first !!
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
We can’t use or evaluate ex4.
Both the “multi instance function” and the CS is more than welcome, if supplied in source code.
The Penguin EA is based on Peaks & Trough areas as main logic, with optional CS and other logic as supporting features.
That main logic is already proven as profitable on all 7 Majors, so we continue to base on that…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
General functions:
//Auto TakeProfit
if (TP==0.)
{
tp = SL()/Point*TP_Factor;
}
else
{
tp = TP;}
//Auto StopLoss
if (SL==0.)
{
sl=SL()/Point;
}
else
{
sl = SL;}
//Auto Lot calculation
if (Lot==0.)
{
Lots = CalcLot(sl);
}
else
{
Lots = Lot;
}G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
V.1.2 is WORSE than initial version, when compared to ALL 7 Majors with sames params.
Since the initial version is our base-line, we need to check and modify the cause, before adding more features/filters.
The importance of checking the EA on ALL 7 majors is in the fact that it reflects various market conditions, like different volatility, DD,…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Thanks VlanFx !!
Remarks to v1.2:
SwingPeriod – Not needed
Missing functions before main logic:
FFCAL -> avoid trading before and after news (default 30 min.)
Max. Spread -> Don’t trade if Spread >max.
Trading Hours -> trade only from StartHr (int) to EndHr (int)
TradeOnMonday -> allow trading on Monday (true/false)
TradeOnFriday -> a…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 4 months ago
Thanks VlanFx !!
Remarks to v1.2:
SwingPeriod – Not needed
Missing functions before main logic:
FFCAL -> avoid trading before and after news (default 30 min.)
Max. Spread -> Don’t trade if Spread >max.
Trading Hours -> trade only from StartHr (int) to EndHr (int)
TradeOnMonday -> allow trading on Monday (true/false)
TradeOnFriday -> a…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
The above is the main reason why I want to use iCustom with visual indicator instead of MQH lib.
The MQH can come later, when everything is stable.
G.
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 4 months ago
The above is the main reason why I want to use iCustom with visual indicatorinstead of MQH lib.
The MQH can come later, when everything is stable.
G.
- Load More