fxDreema

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

    Posts made by jivetrader

    • RE: MAE maximum adverse excursion

      how can i search the current pair name if it contains "JPY" and if found, use 100. if not use 10000. ?

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      thanks, i am using the slide-out variables now. this eliminates an extra Modify Variables block for me.

      can you help with the conversion from price format to #pips e.g. .0031 to 31pips, so that it works for regular and JPY pairs?

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      could you post a link to a page that explains how that slide-out Variables box works? i still don't get it.

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      let's take MFE maximum favorable excursion - the max number of pips price has moved IN FAVOR of the trade, during the trade, ie. the most $ you could have made with supernatural timing - for LONG trades:

      i can see a couple of ways to do this now, neither involves the Pips from Open block, which only passes if the trade is a specified number of pips from the open price of the trade. since we are trying to find the number of pips we are from this open we can either:

      1. compare the current bid to the trade's open price in a loop until trade is closed
      2. at close of trade, find the highest high since a specified bar or since a specified time (Formula block>Market Properties). [but how to identify the exact entry time is beyond me at this point]

      i don't know how to post the code but this is working:

      define project variables
      MFE=0
      MFEtemp=0

      5 steps in sequence:

      1. IF TRADE IS RUNNING, type: Buys
      2. if bid > Trade/Order in Loop, Open Price (level) then (CONDITION)
      3. MFEtemp = Bid - Trade/Order in Loop, Open Price (level) (FUNCTION)
      4. if MFEtemp > MFE then (CONDITION)
      5. MFE = MFEtemp (MODIFY VARIABLES)

      MFE result is shown as a price level and needs conversion to pips. e.g. .0031 for 31 pips on a USD pair

      variables will reset upon next trade entry and start again. so upon close of trade, i want to store this value to an .xls

      also if anyone knows how to convert from price format to #pips for both Western and JPY pairs, i'd love to know
      cheers

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      ok, i just found the Modify Variables block.

      so i just need to know how to configure the Pips Away block. what is the 'Pips away' field- is this where you store the value into a variable? the Help is a little cryptic

      thank you

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      could you explain the Pips away from open module in detail please.

      the help says: "Use this block to check how far from the open-price (of the currently loaded trade/order) the current market price is. It works with trades or orders."

      Direction mode: Trading model, double-sided, or chart model - please explain. these options do not seem to affect the block parameters
      Pips Away mode: fixed value, % of SL, % of TP, dynamic (pips)

      once a bar, i want to compare the Pips from Open from the last time it was compared to the open. if it is greater, update the variable. if not, ignore it.

      how do i store the current Pips away value, compare it, and update the value if necesssary?
      thanks

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      maybe something like this: if trade is running > pips away from open price > compare to previous value? if higher, store in a variable > at trade close, write variable to an excel file.

      i just need help with the question mark part 🙂

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      for longs, i would like to find the the lowest price dropped during a trade (MAE)

      and the highest price reached during a trade (MFE)

      any help with this is appreciated thanks

      posted in Questions & Answers
      J
      jivetrader
    • RE: negative variables

      yes, your code is like my workaround (which works). but when my Project Variable is simply set to -1, it doesn't work. i have to make the PV +1 and use the Adjust *-1 as you did in order for it to work.

      posted in Questions & Answers
      J
      jivetrader
    • RE: negative variables

      i just discovered that Project Variables cannot be negative. or at least it seems that way.

      my entry Condition uses a custom indicator that references a Project Variable, and as soon as i flipped the variable positive, and used the ADJUST field *-1, my entry now works.

      posted in Questions & Answers
      J
      jivetrader
    • RE: opening/saving projects

      the file load/save system is proprietary, and confusing. i am losing work because it is not clear how to:

      • start from an existing file, use it as a template, and save it to a new file
      • save a file with a new name, creating a duplicate under a new name, without disrupting the existing project
      • export to XML seems to save a new project file as well. if this is a true export/import, these XMLs should NOT appear on the project load/save list
      posted in Questions & Answers
      J
      jivetrader
    • RE: how to apply an indicator to another indicator?

      i know how to apply a moving average onto another indicator in MT4. how do i do this in fxdreema? must it be programmed in the custom indicator or is there a series of blocks that would do the trick?

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      yes that part i see.

      MAE is how far the trade moved against you while it was open. so the challenge is, how to find the furthest that price moves against my position, while the trade was in place ? ie the maximum stop loss needed for the trade? any ideas appreciated.

      posted in Questions & Answers
      J
      jivetrader
    • RE: MAE maximum adverse excursion

      i could use a tip on how to find the maximum equity loss, or furthest adverse price value from the open, while a trade is open and export to a CSV file. hints appreciated.

      posted in Questions & Answers
      J
      jivetrader
    • RE: copy/paste of renamed block erases names
      1. give a Condition block a custom name (right click-edit title)
      2. right-click copy
      3. right-click paste
      4. both Condition block titles reset to default title names.
      posted in Bug Reports
      J
      jivetrader
    • 1 / 1