fxDreema

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

    Posts made by BlueMoon

    • RE: Smoothed Moving Average

      I wanted to update what I have noticed. I find this behavior inconsistent. Sometimes it works and matches with what I see visually on the chart and sometimes it is 1 candle late.

      I wonder what could be going on here? Any thoughts? Ideas? Much appreciated.

      Could this have something to do with broker spread? Just a thought.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Smoothed Moving Average

      There are other logics I have in blocks but I don't think that matters.

      But since you asked I will provide all details.

      I am running this on "On Tick" event.
      My first block is "Once per bar"
      This is followed by the condition which checks the Smoothed MA. If this block passes. I have another condition that check if my Trend variable is equal to "Sell" This means that until now the prices were in downtrend. After the last closed bar now the prices are going to go up (as per my logic and theories/strategies) So I close existing "sell" trades. I then open a "Buy" trade. I then also now set the Trend variable to "buy" since I am not in uptrend. I now wait for another crossover condition when the 5MA < 8MA

      Let me know if I can provide more clarification. I don't believe any other conditions I am using matters. It just seems like it is doing what it is supposed to but 1 candle late.

      0_1498064098441_upload-fdb39005-73e5-426e-9492-e218c13c90ec

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Smoothed Moving Average

      @miro1360 said in Smoothed Moving Average:

      you set it for both MA (left and right)?
      are you looking in chart for good MA mode (smoothed) and periods?

      I did set it for both MA mode. Yes to left as well as right. See the following screenshot.
      Also see the screeshot below it. The red line is my 5MA and blue line is 8MA. If you notice Red line is clearly above the blue line right before the big bull candle. But the EA did not take the "Buy" trade after the close of previous candle. It took a "Sell" trade instead. It did take the "Buy" trade after the close of the Big Bull candle that you see. It just seems to me like it is seeing things 1 candle late.

      0_1498058851104_upload-07f31c73-0436-4c1c-b681-00ab4e2b47a7

      0_1498058771464_upload-9c047d43-fe7d-4bb5-94a0-7337c4ca687a

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Smoothed Moving Average

      @miro1360 I have set the candle id to 1, but I am continue to see the same problem. I can visually very cleat see the MA5 to be above MA8, but it still takes the "Sell" trade instead of the "Buy" trade?

      What could be happening here?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Once a day at certain time

      I am trying the following but this is not working. Can you suggest what could be wrong?

      0_1497616956646_upload-29eb5409-ed50-4d9a-bb17-1545e7946ad0

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Once a day at certain time

      Actually I would like the time to be a parameter input.
      Please help me.

      posted in Questions & Answers
      B
      BlueMoon
    • Once a day at certain time

      How do I run my blocks once a day at a certain time of the day?

      I want to create "Buy" trades at exactly 7:05pm EST. How do I do this?

      Thanks

      posted in Questions & Answers
      B
      BlueMoon
    • Check Profit Unrealized in backtesting

      I developed an EA that I want to backTest. I noticed that if I don't use the "Check Profit" block in my EA, everything works fine. But when I use the "Check Profit" block it does not work in backTesting.

      Any reason for this?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Smoothed Moving Average

      @miro1360 said in Smoothed Moving Average:

      More settings - set Candle ID to 1
      because when it is 0, you are working with not closed candle and it "repaints"

      Thank you!!

      posted in Questions & Answers
      B
      BlueMoon
    • Smoothed Moving Average

      I use the following block in my code to make trading decisions. Basically if this passes then "Buy" trade and if it does not then "Sell" trade. Seems like this did not work properly. I can clearly see on my chart that the 5 MA is indeed above 8 MA, it still took a "Sell" trade instead of "Buy"
      I will have to say that the EMAs are close but still I confirmed 5MA is > 8MA.

      Is this possible? What could be happening here?

      0_1493383765954_upload-badf2730-3b4d-41bb-b380-1f712cdda1c0

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      Please ignore my last 2 posts. It does work for "Buys" as well as "Sells" I has made some mistakes with the Group number.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      Here is the block I am using. I set the Trailing Start at 5 pips. I see few "Buy" trades that are currently making over 5 pips profit but I don't see they have a SL set. This seems to be working fine for the "Sell" trade.

      0_1493294561367_upload-47c99d8e-06aa-4be4-969c-fadd93778382

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      Seems like it works for "Sells" but not for "Buys"
      Any idea what could be going on?

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      Do you think this will work? I basically want to secure at the least 50% of my profit on a open trade once it reaches 50 pips of profit. I then want to keep setting the 50% at every 10 pip extra profit.

      The Pips offset I am using 50 pips since thats where I want it to start setting the SL. Will this work?

      0_1493244963216_upload-7f4562da-e8dc-4ae7-a3dd-ed669162c7a2

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      @miro1360 said in Trailing Stop Mutiple Levels for Take Profit not working as expected:

      is this picture clear?

      0_1493244066088_upload-a4aae316-f050-459f-ad12-5419ae567ea0

      Thank you so much for taking the time to explain. I now understand what you mean. My intention is to "secure" 50% of the profit once I reach the target. This means I cannot use TP for trailing based on your diagram since my TP would always be less than the current price in case of a Buy trade and more than the current price incase of a Sell trade.

      Glad I got this out of my way. Now I understand the "SL" is my only option here. I still believe there are issues with the block but let me test this with "SL" on what I am trying to do and I will report back.

      Thanks again for all your help.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      will the following work for what I am trying to do?

      0_1493241939089_upload-7e0e1f81-f205-4430-9933-d83ce651114d

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      @miro1360 said in Trailing Stop Mutiple Levels for Take Profit not working as expected:

      you cant trail TP this way 😄 ... how you can have TP for buy trade below current price? you cant set it this way ...

      I want to start trailing TP when the price is 50 pips above the open price of the buy trade, and below the open price of the sell trade. I then want to trail it at 10pips increment of profit.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      @miro1360 said in Trailing Stop Mutiple Levels for Take Profit not working as expected:

      set this Profit Treshold on some value of profit where you wish start trailing:
      0_1493238009236_upload-c7d36332-5eb1-4b79-91d2-14636448d04c

      Thanks micro1360

      I want to trail the TP and not SL. In your screenshot you have selected "Stop-Loss" as "Trial what?" Was this by mistake?

      I want to start trailing after my trade has reached 50 pips of profit. So I will sure set the "Profit Treshhold" to 50 pips. But I want the TP to change to 50% every 10 pips. I mean when my profit reached 50 pips, I want my TP to be 25pips...and when it reached 60 pips, I want my TP to be 30 pips. How do I achieve this using this block? Can it be achieved? I tried "Mutiple Levels" option but it seems to have issues.

      All your help is appreciated. Thanks again.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      I really need this Trailing stops. Seems like there are lot of issues here with "Multiple Levels"
      Can someone please help?

      I have noticed the following:

      1. When you are Trailing TP, it use your levels when in Loss side of the trade instead of Profit.
      2. I also noticed that the behavior is all inconsistent with respect to when you select to Trial SL or TP.
      3. I also noticed that the behavior is inconsistent when you are trailing your "Buys" vs "Sells"

      I really need help on this.

      posted in Questions & Answers
      B
      BlueMoon
    • RE: Trailing Stop Mutiple Levels for Take Profit not working as expected

      I also noticed just now that it is not doing any trailing when my trades are in profit mode. I mean when my trade goes to 10 pips profit, I want it to set the TP to 5 pips...and keep trailing the same way as per the block. But its not doing anything!!

      posted in Questions & Answers
      B
      BlueMoon
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 10 / 13