fxDreema

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

    Posts made by Cgammons01

    • Keeping track of pips lost...

      Is there a way to have an EA keep track of pips lost for the last 2 or 3 trades or so and then have it set the Take Profit at that amount on it's next trade? Or is this more of a custom indicator type?

      posted in Questions & Answers
      C
      Cgammons01
    • RE: Swing Lows/Swing Highs

      Hi there,

      When my EA takes a trade, I would like it to look for the most recent swing low/high and place it's stop there, maybe 5 to 10 pips above/below. Then I would like the TP to be set the same amount of distance as the stoploss. My question is, is there a way to make the EA look and identify a recent swing high/Low?
      
      posted in Questions & Answers
      C
      Cgammons01
    • RE: Stochastics Indicator

      Thanks... I finally got it to work correctly. I did post another question about moving my TP automatically after a certain event. I'll wait for a reply on that post. Thanks again!

      posted in Questions & Answers
      C
      Cgammons01
    • RE: Take Profit auto adjustment

      Hello,

       I'm curious.... Is there a way to auto adjust your Take Profit when a certain event happens? Let's say my EA takes a trade and I have a SL of 15 pips and a TP of 15 pips. Lets say the trade moves against me 10 pips. Is it possible to have my TP move down to break even level so if the trade recovers to entry level it just closes trade?
      
      posted in Questions & Answers
      C
      Cgammons01
    • RE: Stochastics Indicator

      I always use visual mode in the strategy tester. It doesn't seem to be repainting. I had a coder off the MQL5 website make what I wanted and it's entries are perfect. But I would like to make one with this so I can add things myself when I want.

      posted in Questions & Answers
      C
      Cgammons01
    • RE: Stochastics Indicator

      Hi there... I'm having some difficulty creating a simple EA based on Stochastics. The problem I'm having is that the EA is taking trades to early. I want it to take trades based on the stochastic closing above 80 or below 20. Should be as simple as using a condition block, Left side choosing Stochastic 5,3,3/ Not really sure about the MA Method to choose as the properties under Stochastics in MT4 doesn't give you that option, as for Price Field, I'm assuming I want Close/Close so the EA reads the value of the main line at the last bar closed, and Candle ID I'm assuming is how far back I want it to read the Stoch's Main Line Value.... So by putting 1, I think it reads the value of the Stochs main line of the last closed bar. On the right hand side, I am comparing it with a numeric value. What it's doing is sometimes taking trades when the Stochastic is between the 80 and 20 and I can't figure out why. I want it to close a trade after a 15 pip TakeProfit which is working fine, If the MainLine of the stoch crosses over the 80 for a buy and 20 for a sell, or if the stoch main line crosses it's signal line before either of the other 2 happen. I'm using it on gbp/Usd pair 5 minute chart. If you could take a look at my project and help me out please. Thanks!

      posted in Questions & Answers
      C
      Cgammons01
    • RE: "Buy/Sell Pending Order" block

      I see now.... You can't even open a buy limit order above price manually on MT4. My bad.

      posted in Questions & Answers
      C
      Cgammons01
    • RE: "Buy/Sell Pending Order" block

      Using a negative value just makes a Buy Limit order underneath current price. If I use a positive value, it's above price where I want it. But it's a BuyStop. I want to be able to open a Buy Limit order above current price 20 pip offset. Under the properties of the Buy Pending Order/Sell pending order block, there's no way to add a drop down field like this: Order Type: Buy Stop, Sell Stop, Buy Limit, Sell Limit?

      posted in Questions & Answers
      C
      Cgammons01
    • RE: "Buy/Sell Pending Order" block

      Hi there,

        So I've been at this for a bit now and I can't seem to figure out how to get the "Buy/Sell Pending Order" blocks to place Buy Limit orders and Sell limit orders. By default, it keeps placing Buy Stops and Sell stops. Any suggestions? I'm thinking there has to be a way to tell it what type of pending order to open... There's only 4 different types: (Buy Limit, Sell Limit, Buy Stop, Sell Stop). I need the limit type because I'm using a bit of hedging in this strategy... The buystop/sellstop will close one position to open another in the opposite direction and I don't want that.
      
      posted in Questions & Answers
      C
      Cgammons01
    • RE: Optional Exit Trade option as an Input Parameter

      Yeah, I was reading some of that stuff.... It took me awhile but I have everything running fine 🙂

      posted in Questions & Answers
      C
      Cgammons01
    • RE: CONSTANTS...ARE TOO CONSTANT

      As far as using the Constants properly, all you have to do is create a Constant and be sure to link it to a field that holds a value. For example:

      You have placed a buy now and a sell now block on your workplace. Let's say you want to create a Lots Constant You create a constant: Type=double, Name= Lots, Value= 1.00

      Once that's done, double click on your buy block to open up the properties. In the box next to "Lot Size" right click on it and choose your "Lots" Constant. Do this same thing for your Sell block. You can do this with any of these types of blocks, indicators, conditions, etc. That's all you have to do and everything should work fine. I've made lot's of constants for my EA and all is working great.

      posted in Questions & Answers
      C
      Cgammons01
    • RE: Optional Exit Trade option as an Input Parameter

      Hello... I'm new here at the site and I'm having a good time learning how to use this awesome tool. So far, I'm doing alright. I'm trying to create a simple EA based on Bollinger Bands. I have a few questions and please see attached screenshot:

      1. If I want the EA to buy or Sell at the exact time the price breaks the upper or lower band, I would under a "Condition" block choose Candle High > Upper Band and Candle Low < Lower Band, correct?

      2. I'm going to use this strategy mainly with a TP for short scalp trades. But, I have setup an alternative exit trade rule. Is there any way I can add this rule as a True or False option under the input parameters? I have this setup as a 3 block rule on it's own: If Trade ~~> Condition ~~> Close Trades.

      3. At first, I was getting compiling errors when using the Constants tool but then I left the type as "Double" for all constants, everything was fine. Is there any place I can learn more about what to put in this "Type" field under "Constants"? I'm not quite understanding it... And yes, I did look at the examples and documentation but there is no explanation of what goes under "Type".

      Thanks in advance!

      **UPDATE:**I have figured out questions 1 and 2. Question 2 was done using Set Flag(true-false) and Check Flag(true-false). After looking through the forum, I have my answer to Question 3. When viewing the EA input parameters on MT4, how do I create just a comment/text field to separate the different input groups... Just want to make it look clean and descriptive? Is there a "Type" I can specify under Constant that will allow me to type letters under the "Value" field? ANSWER: Just use string as a type lol. Well, looks like I'm good to go after answering all my own questions!

      I'm using Google Chrome Browser.... I couldn't figure out how to get a full size picture to post here so if you right click on the image below and "Open in new tab".... On the new tab it gives the option to zoom in.

      ......
      BB Sniper.jpg

      posted in Questions & Answers
      C
      Cgammons01
    • 1
    • 2
    • 2 / 2