fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. CPBonzo
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 77
    • Best 10
    • Controversial 0
    • Groups 0

    Posts made by CPBonzo

    • RE: close a certain trade when its Profit reaches same number of pips as its Stoploss?

      I think you need to use the Close Trade block from the purple Loop for Trades and Orders menu and not the blue one from the Trading Actions. The purple Close Trade block closes only the trade in the current loop. I haven't checked this, but it is certainly worth a try.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Need help with stoploss

      In the adjust box for the stop loss you -1 Depending on what you are trading, that could be a very long way from the open. If you want to adjust by pips you need to put +1 pips or -1 pips. If you click the ? to the left of the adjust box it gives some useful examples.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Constant unexisting in blocks

      Is it possible you did use the constant in the block and then changed the operand on one side without resetting the relevant parameter to the original value, or zero?

      For example, if you had originally set the left operand to something other than Candle and used the "id" constant and then changed the operand to candle without resetting the constant fxDreema will still see the constant in the block despite it not being used. You will see this if you set the operand back to whatever it was before.

      The quickest solution is probably to delete the block and create a new one in its place.

      posted in Bug Reports
      C
      CPBonzo
    • RE: Take Profit Trail

      Trailing stops operate in such a way that they move when the price is moving away from them. Most commonly people trail the stop-loss, which means as the price moves away from the open and towards the take profit the stop-loss follows, or trails, it.

      Similarly, a trailing take-profit only moves when the price is moving away from it. For example, when the price moves against you (the wrong way from the open) a trailing take-profit will follow it (it trails the price) this reduces the take profit level such that if the price reverses and moves back in the planned direction the take-profit is closer to the open than it was and if reached the profit taken is lower than it would have been when the trade was originally set up.

      To summarise, a trailing stop-loss moves when the trade moves in your favour and profit is increasing, a trailing take-profit moves when the trade goes against you and profit is reducing/loss increasing.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Draw Horizontal Line of value variable

      @zedeai2 You could use the Draw Text box. This allows you to place the text, or number, anywhere on the chart using price and time. In the Time(1) section you could place the text at candle 1(or any other) and then locate it at the same height (price value) as the line by setting the Price (1) section as you did for the line and use the variable in the value box. Then use the variable again to replace the "sample text " in the text box and that should then show the value of the line i.e. the variable, at the location of the line.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Draw Horizontal Line of value variable

      @zedeai2 In the Draw Line block, under Price(1) change the first pull down to value and the second to numeric then put your variable in the box for the value. This will draw a line at the value set by your variable. Note. your other settings will mean this line is redrawn every bar.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Donchian Channels

      The nature of the standard Donchian Channel is such that candle 1 will not close above or below the channel as set by candle 1 because the channel lines are the highest and lowest point of the last 20 (in your case) candles. Therefore the candle cannot close above the high of a range of which it is part. If you change the candle id in the right-hand side of the condition blocks to 2 you should find the EA makes trades.

      posted in General Discussions
      C
      CPBonzo
    • RE: Losing my mind trying to get trailing stop to work! :)

      I don't know what more I can say. You have the level of the trailing stop set to be the highest value of the previous 144 candles. If that value is less than the current stop loss then, yes, the stop will trail in 5 pip steps once the price has moved 5 pips from the open price. But, if the highest value of the past 144 candles is never lower than where the stop loss is now it will not move.
      In your example the first trade has, by a rough count, set the SL to the high of candle 52, which one assumes was the highest candle for the past 144. Once the price moves 5 pips from the open price the ea will calculate 144 candles back from the current candle and move the stop loss to the highest value if this is different from the current SL, but in this example it isn't because the same candle is still the highest of the previous 144 and so there is no change.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Check max profit and max loss during a trade

      If in the Adjust Variable block you have you put the variable "counter" in the box where you currently have the 0 and under adjust you +1 then the first chain of blocks you have on the left will, on each bar add one to the variable for each trade you have open.
      You will then need to produce something to reset the counter to zero when there are no trades.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Auto Lot Size

      @ava What exactly do you mean by Auto Lot according to new balance?

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Losing my mind trying to get trailing stop to work! :)

      @sirboyce In the example you give the stop trailing stop is set to move to the highest price that occurred in the last 144 candles. If the highest price in the last 144 candles is not lower than where the SL was originally set (from the look of the image you attached it looks as though it would be a lot higher) it will not move.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: How to use Trailing TP as Trailing SL (Link provided) ?

      Trailing profit works such that when the price moves against you the Take Profit moves too, thus reducing the profit you will get when it is hit, but making it more likely it will be hit.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: How to use Trailing TP as Trailing SL (Link provided) ?

      Take Profit can only be above the price for Buy orders or below the price for Sell orders. Is it behind the current price it is a Stop-Loss.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Check max profit and max loss during a trade

      The modify variable block as you have it set modified the variable called "counter" to 0 and the blocks above mean this will happen once per bar for each trade. The variable is never going to increase because the modify block simply sets it to zero each time.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Losing my mind trying to get trailing stop to work! :)

      @sirboyce I assume they are trades opened by the EA? If not, you will need to change the Group Mode to all. The only other thing I have found is that trailing stops seem to function best in these situations if the start candle ID is 1. As candle 0 has not closed its highest price is yet to be determined and this seems to impact the trailing stop - one would think it shouldn't because it would take the highest price so far, but I always set it to candle 1. I hope that helps as I can see nothing else that may be an issue.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Custom stochastics indicator

      One of your output buffers will be the signal line and the other the main line.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Phone notification issue

      You will need to put something in the Label boxes of the notification blocks, either just a, b, etc. or a description of what the data is. Without the label it seems the block does not pick up and send the data from the data rows associated with that label.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: Phone notification issue

      If you connect the draw arrow blocks to the bottom of blocks 4 and 7 with the notification blocks do the arrows get drawn? If so, the issue is with notifications, if not the issue is with the indicator and/or the logic in the EA.
      If a notification issue, have you set up MT4 to handle phone notifications and tested it to make sure it is working?

      posted in Questions & Answers
      C
      CPBonzo
    • RE: EA "On" & "OFF" Toggle Button on chart

      Not exactly. Because any button would have to be part of the EA I don't think it could turn the EA of which it is part on and off. However, it is certainly possible to place a button on the chart such that it stops the EA from trading. To do so, having created the button and given it a name, one places two blocks befor ethe BUy and SELL blocks, one is "select object by name" set to select the button and the next is "check button state" and set this to pass if the button is pressed. That way trades are only taken when the button is pressed.

      posted in Questions & Answers
      C
      CPBonzo
    • RE: moving average crossover method.

      Yes, you asked how to ensure the price had crossed the moving average a lot and in most circumstances that means the condition is met by a later candle than if you just wanted the moment the moving average was actually crossed.

      posted in Questions & Answers
      C
      CPBonzo
    • 1
    • 2
    • 3
    • 4
    • 1 / 4