fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. adamghous
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    adamghous

    @adamghous

    0
    Reputation
    439
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location London, UK

    adamghous Unfollow Follow

    Latest posts made by adamghous

    • Simple button to change a variable output

      Hey,

      I have been trying to create a simple button that changes a variables state from TRUE to False. When True the EA is allowed to take a specific set of trades and when false it takes no trades.

      The image below shows my 'on chart' button logic which is simple. The variable is initially set to False. So when the variable is False the condition block allows it through and when the button is clicked the variable is changed from False to True and the EA can take trades. This part works fine and I can see this on my chart via a comment block which shows the out of the variable 'Trade on'.

      However, i am struggling to change the variable back to false when i click the button again. Can anybody see a reason why it wouldn't change back to False?

      Thanks for any help, Adam.

      0_1542017378647_c0964b20-0679-4ae5-9dbe-a5005c7f92e9-image.png

      posted in Questions & Answers
      A
      adamghous
    • Button to bring Stop Loss to Break Even - Problem with Modify Stops of trades

      Hi,

      I have made three simple buttons as shown in the image. One to enter a buy trade and one to enter a sell trade and one to bring my stop loss to break even.

      The buy and sell buttons enter trades and set a stop loss where I have a line object positioned on the chart and no take profit target is set. The break even button should bring the stop to break even but I can't get the EA to function correctly if I put the take profit to value in the Modify Stops of Trades block to 0.

      I don't have a take profit set and don't want a take profit set so how can I get my Stop loss to break even without entering something in the take profit value cell?

      Thanks for any advice
      Adam

      0_1540830906486_7ed4f24b-6a64-4311-90fa-074fd3ed862e-image.png

      posted in Questions & Answers
      A
      adamghous
    • RE: Martingale based on variable lots sizes (risk % of balance)

      @adamghous

      Just to clarify i mean that i want to risk 1% of my balance on the first trade. If that trade looses i want to risk 2% and then 4% and then 8%etc.

      thanks

      posted in Questions & Answers
      A
      adamghous
    • Martingale based on variable lots sizes (risk % of balance)

      Hi,

      Just looking for a method to use the martingale feature on FXDreema but basing my trade risk on % of balance as can be done for the other money management rules in FXDreema.

      It only seems to offer the risk as fixed number of lots i.e. 0.1 lots. I'm just making an assumption but presumably lots of other people have been interested in a similar thing so is there a simple method that i'm missing? or is it a case of doing a little math using the formula blocks to create a Risk % of balance in lots variable?

      Any input welcome.

      Thanks

      posted in Questions & Answers
      A
      adamghous
    • Position sizing appears correct but account wiped out after one loss

      Hey,

      I keep having this issue in the last two days. My pending orders are set up to bet a fixed amount of money, in this case 100GBP. However, as you can see from the screenshot the first trade in this data set is a loss but wipes out 98% of my 10,000GBP account. This then terminates the EA no doubt due to lack of funds.

      I've tried a few different position sizing options like % of balance set to 0.1% or 1% of my balance but still wipes out my account in the same way even though the lots (or GBP per point in this case) are small and reasonable. The screenshots show a lot size 0.47.

      This doesn't seem to add up.

      Any help appreciated.

      0_1530705500591_f9e0d832-ee8e-4c71-b7ef-c7e7b2b164cb-image.png

      0_1530705518313_df24966f-af66-42e3-93b8-e75355437ae7-image.png

      posted in Bug Reports
      A
      adamghous
    • Set pending orders based on chart objects

      Hi,

      I'd like to know if anybody knows a way to have pending orders set for when price cross above/below a chart object which in this case would be a horizontal red line. One chart can have around 20 horizontal red lines which denote supply and demand areas I have identified.

      I want the EA to set the same pending order i.e. same lots, stop loss and take profit every time it encounters a red line. I am trying to avoid having to set up 20 different conditions based on each lines price value. I just want it to recognise a red line and set the pending order when a candle crosses it.

      I this possible with FXDreema?

      Thanks for any sugestions

      Adam

      posted in Questions & Answers
      A
      adamghous
    • RE: Finding the most recent candle close high point

      Thanks to your example i think ive cracked it. Just had to have the EA recognise the pattern of lower close-higher close-lower close and then remember the value of Candle Shift 2 for the higher close. Once that was stored in the variable I could use that value as an entry point. https://fxdreema.com/shared/uonU4E21e

      posted in Questions & Answers
      A
      adamghous
    • RE: Finding the most recent candle close high point

      Thanks for the work through it is very helpful. However what about if the highest close price was 3,4...10 candles back as oppose to only 1 candle back?

      This is to say that Im looking to enter a trade on the last swing high in terms of candle closing prices (as oppose to actual candles highs which would be the norm). The yellow 1SMA shows the swing highs quite well. I need the EA to recognise what the price of the latest swing high is so that I can enter a trade on price crossing that level.

      posted in Questions & Answers
      A
      adamghous
    • Finding the most recent candle close high point

      0_1525291330026_Example.jpg

      Hey,

      Hopefully someone can help or point me in the right direction.

      I want my EA to recognise the most recent candle close high ( as represented on the image as EP). When price crosses the EP it will trigger a buy trade in this example with the SL being set at the latest candle low. This could occur over n number of candles which is why i need it to specifically find the latest ones to enter on.

      The yellow line in the image is the 1SMA (based on closed price) which i thought could be used as an aide to get this going but essentially you just end up hitting the same roadblock as if you were just using OHLCs.

      Any help or examples appreciated.

      Adam

      posted in Questions & Answers
      A
      adamghous