fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. bollitori
    3. Posts
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by bollitori

    • RE: Partial close

      Ah ok, so with OrderCloseBy is not possible to close partial with an opposite order respect of the trade. Well I'll continue thinking on other ways.

      A few minutes ago I have founded a really good indicator http://www.forexfactory.com/attachment. ... 1417926766 it prints something like this http://prntscr.com/afdjy2 or this one http://www.forexfactory.com/attachment. ... 1417926185 that prints this http://prntscr.com/afdkbt, the last one is more visual and the other is more technical; both are good and but I prefer going more technical; also they could be used without an expert advisor, but that's isn't the objective so, when I upload to My Custom Indicator, both are empty on Input Parameters and Output Buffers, how can I solve it? I'm a bit lost.

      Your support is grateful.

      posted in Questions & Answers
      B
      bollitori
    • RE: Partial close

      A pending order that closes part of a trade. In this example, the ea functions more or less, but is so slowly and is doing the same that the close partially. But in the real chart I don't know if it opens a new trade or it close some lots.
      This is useful for example when open a trade with SL and you want to take benefits at X pips (25% of total lots) and the rest for the trailing stop (75% of total lots).

      This ea is not useful, but can illustrate the example above: https://fxdreema.com/shared/vIXPNqJ5

      posted in Questions & Answers
      B
      bollitori
    • RE: Partial close

      Hi Fxdreema,

      Could you add the partial close without making a new trade? I say this because you are making the double of trades and paying the double of comissions with this "close(partially)" and this is a lot. I have found that it's possible doing this with OrderCloseBy (https://docs.mql4.com/trading/ordercloseby). I found this EA that implements it http://forex-strategies-revealed.com/fi ... lClose.mq4
      Okey, thanks. 🙂

      posted in Questions & Answers
      B
      bollitori
    • RE: Take profit depending on market

      Hello,

      My idea is to obtain the diference between the upper and lower band of bollinger; and then put this value as take profit. This is because the market has diferent volatility along the day, and bollinger could be an acceptable value on pips of volatility.
      A better option is to use a "VaR value" like this http://www.oanda.com/forex-trading/anal ... calculator , because is more accurate; but I don't know how to implement this.
      My shared ea to understand better my idea is: https://fxdreema.com/shared/GKmqi33xe

      Actually, I'm thinking just to put a fixed value because it goes well, but possibly a take profit could depends on volatility. I don't like trailing stops because the backtest don't perform well.

      Thanks,
      Bye.

      posted in Questions & Answers
      B
      bollitori
    • RE: variables and constants

      So the solution is to repeat for example the %(#FF40BF)[ modify stops ] block and put in %(#FF4000)[ constants ]; my idea is to connect it after a %(#FF4000)[ formula ] that contains a %(#804000)[ variable ] but it returns me a "constant error" or simply it doesn't works. Could you share me an example of a %(#FF00FF)[ modify stops ] blocks with a %(#804000)[ constant ] on pips that changes everytime the block is executed? Or I must copy again and again, as many times as I consider?
      Other question, is possible to know the %(#00FF00)[ "n" ] times that a block passed and put this %(#00FF00)[ "n" ] into a variable or constant?, this %(#00FF00)[ "n" ] can be used in a %(#FF4000)[ formula ] to change a %(#FF00FF)[ variable ] and establish a new %(#FF40BF)[ modify stops ].

      posted in Questions & Answers
      B
      bollitori
    • RE: variables and constants

      Hello, is it possible to put a variable on %(#FF80FF)[ modify stops ] ? If it's not, is possible to transform a variable into a constant?
      I would like to change the "take profit" and "stop loss" from %(#FF80FF)[ modify stops ] many times. Also I would like to change the "pips away" from %(#FF80FF)[ pips away from open-price ] . When I say change, I mean to input 5, after the loop 10, another loop 15...

      posted in Questions & Answers
      B
      bollitori
    • RE: Condition for Trailing stop

      Hello,

      I would like to enable 'trailing stop' just when a condition is meeting. Here is my example : https://fxdreema.com/shared/SSQIffOed

      Thanks,
      Bye.

      posted in Questions & Answers
      B
      bollitori
    • RE: Modify Tprofit and SLoss

      I suspect that isn't actually solved.

      posted in Questions & Answers
      B
      bollitori
    • RE: Modify Tprofit and SLoss

      I think I have solved it, connecting two "trailing stop and profit" with the yellok option of "No trade is running"

      posted in Questions & Answers
      B
      bollitori
    • RE: Modify Tprofit and SLoss

      Hi,

      I've been testing differents robots like this: https://fxdreema.com/shared/BSVbYv3vc but I can't modify the stop-loss and take-profit at the same time.

      My idea is a for example a robot with this values (Buys):

      • Price: 1.5000 (at 8:00)
      • Stop-loss: 10 pips (1.4990)
      • Take-profit: 5 pips (1.5005)

      Then, 5 minutes later, the market moves in the desired direction, like 4 pips. Change the initial stop-loss and take-profit to:

      • Price: 1.5004 (at 8:05)
      • Stop-loss: +10 pips from the actual price (1.4994)
      • Take-profit: +5 pips from the actual price (1.5009)

      I hope you understand me, Thanks. Bye.

      posted in Questions & Answers
      B
      bollitori
    • RE: ATR Stop-Loss

      Thanks a lot. I have solved the problem on two ways. One is to change 'close' with 'break' and the second way is to put all the code on one column and not to use the 'for each trade'. So thank you, and good night.

      posted in Questions & Answers
      B
      bollitori
    • RE: ATR Stop-Loss

      The solution is a robot that modifies stops/buys on metatrader 4 and not just in backtesting. Thanks. 😏

      posted in Questions & Answers
      B
      bollitori
    • RE: ATR Stop-Loss

      Hi,

      I'm Ramón and my robot change the stop-loss only on the backtests, when I prove it on demo account it fails.
      The programm is similar to this: https://fxdreema.com/shared/xQk5dfB2
      Also, I have changed a few things:
      1_ On fxdreema, the fixed pips on the sell/buy and write the atrbuy(variable) that is the result on pips that my robot must execute.
      2_ On mt4, I have marked: allow live trading (obviously) and allow modification of signal settings (this I don't know what do).

      So I'll be very grateful if someone could help me, thanks and good trading!

      posted in Questions & Answers
      B
      bollitori
    • 1 / 1