Saver0 replied to the topic All about reversion zones in the forum Reversion Zones 2 years ago
You are correct in identifying the candle where you saw the price moving quickly away from the trend. These are impulses that often gets corrected.
Keep in mind that every candle can be treated individually. So, if the candle is a spike against the trend, we can expect the price to revisit back to some area within that candle. This is how there…[Read more]simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Hi kapybara,
Thanks for reporting! According to your output, the error should NOT occur on your GP account, where
Stop level in points ( MODE_STOPLEVEL ) = 0. On MaxFx the case is clear withStop level in points ( MODE_STOPLEVEL ) = 10As a workaround, please try setting your parameter StopOrdersBuffer to a value greater than the account…[Read more]
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Good idea.
Also add “Debug” (true/false) to user’s parameters to optionally activate/deactivate this function in OnInit().
G.
gg53 replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
Good idea.
Also add “Debug” (true/false) to user’s parameters to activate/deactivate this function in OnInit().
G.
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 7 months ago
@VlanFx: maybe it would be a good idea to cut the function from my above posted script and integrate it in the EA. Calling the function once during OnInit() might support debugging.
s.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
Sorry G., did not have time for that today. I was fully occupied working on the basics of CIX 4. It’s not yet mature enough for a public test, just want to post a pic for review to ensure my direction is ok from your point of view. Local testing and debugging will certainly take one more day. It’s not yet completely stable.
You wrote: Here we…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
VlanFx replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 7 months ago
That’s no problem simplex. I’m away and wouldn’t want the group to wait.
V.
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
I think it’s Ok to convert to your style and @VlanFx will adapt to that style later on. That will save precious time, and later on you can both coordinate published versions.
Many thanks to all contributing members.
G.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
Thanks for your faith in me! As you can easily see from the code I sent you recently, my coding style is quite different from yours. I would feel more confident basing my further work on the version I sent you for review, not on yours. But I’m afraid that might introduce a major break in our overall workflow. Please do not take this a…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
My preference is that all functions be independent, for user chice which one to implement. Later we’ll issue guidelines of the implication of each and the mutual effect, if any.
While In Trade, it preferably should look like this:
If InTrade()
TrailingStop();
BreakEven();
TrailingProfit();
etc…
ExitTrade(…on opposite signal…before…[Read more]
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
My preference is that all functions be independent, for user chice which one to implement. Later we’ll issue guidelines of the implication of each and the mutual effect, if any.
While In Trade, it preferably should look like this:
If InTrade()
TrailingStop();
BreakEven();
TrailingProfit();
etc…
G.
gg53 replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
My preference is that all functions be independent, for user chice which one to implement. Later we’ll issue guidelines of the implication of each and the mutual effect, if any.
G.
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
Hi @VlanFx
I think that I have a solution now regarding our Partial Closing vs. Moving SL to BE issue. My solution aims to address both functions independently from each other, with no logic interdependence. Also the triggers for both values are volatility based using ATR multiples. Partial close will only be performed once per original…[Read more]
simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
Hi @VlanFx
As I wrote in this post I believe that the greatest problem to get DynTP working together with partial close is the rule that variable PartialTP must be smaller than TrailingStop. I don’t understand why you implemented the logic in a way that both variables depend on each other. IMO, they should be independent. Then we could easily key…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 8 months ago
My Dynamic Take Profit function is working now – see attachment. It was necessary to apply some changes to your EA version in order to make DynTP work.
So the zip file contains the following:
sx_dynamic_tp.mq4: all new functions and some code snippets that show how to use them
Penguin_v_1_3_sx.mq4: a modified EA based on Version 1.3. I had to…[Read more]simplex replied to the topic Trading made REALLY Simple: Coder's Chat in the forum Development 10 years, 8 months ago
Hi @VlanFx,
Thanks for your answer! Ok, got your thoughts about partial close and changing ticket number. Until now, I didn’t bother about partial close too much, so I don’t have a solution right on my desk.
So just let me think: how many trades of one pair do we allow to be open at a time? One or more? And do we allow hedging?
If we’re…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 8 months ago
I’m currently debugging my Dynamic Take Profit function, which is based on the Trailing Stop function @VlanFx provided in v 1.3 of the EA. My DynTP still has an issue, but I think we’re also having issues with the current logic of partial close and moving the SL to BE (functions CloseOrdersPartialAndMoveSlToBE and MoveStopLossToBreakEven) which…[Read more]
simplex replied to the topic Trading made REALLY Simple in the forum Development 10 years, 8 months ago
I’m currently debugging my Dynamic Take Profit function, which is based on the Trailing Stop function @VlanFx provided in v 1.3 of the EA. My DynTP still has an issue, but I think we’re also having issues with the current logic of partial close and moving the SL to BE (functions CloseOrdersPartialAndMoveSlToBE and MoveStopLossToBreakEven) which…[Read more]
- Load More