Got It! But I am looking for IF Condition with IF NOT as an alternate connect. This is not at all clear in the blocks?
Posts made by MIKEIKE
-
RE: Stop Recalculations Glitchingposted in Questions & Answers
-
RE: Stop Recalculations Glitchingposted in Questions & Answers
Hi, The reason I am ending with condition is because the formula result = stop loss modification. I am attempting to move the stop loss on open trades. If 1 of 4 conditions on previous candle is not met, = (ATRx2)/(3)x(2) + the highest close of the past 10 candles = Stop Loss (reducing the regular ATRx2 stop loss by 1/3rd). There are 4 conditions to enter trade then if each condition is met for each new candle, (ATRx2)+ the highest close of the past 10 candles.
This is not a trailing stop so I tried a different method?
-
RE: Stop Recalculations Glitchingposted in Questions & Answers
I have repaired the logic for trade entries as you suggested. I have also prepared the stop loss logic as per the document displayed in this string. The stop loss may be the glitch because the EA will not run?
-
RE: Stop Recalculations Glitchingposted in Questions & Answers
Thank you for the assistance. There is one problem though, you mentioned the OR blocks. this ties into my stop loss formula and management of stop loss. If one of three conditions is negative, the action occurs, I used OR in that case to string 1, or 2, or 3 is negative then... All three are not required to be negative. My entries for trades is working and I will change the formula approach, but I cannot get the stop loss to work? If all three formulas are negative a stop loss of 2xATR is placed above the lowest most recent close. If one formula is positive, the 2xATR is reduced by 1/3rd instead. The stop losses are not working and I cannot figure out how to move each one to the lowest close or highest close within a move? If I select up to 20 candles back I will likely be fine but I am lost on this....
-
RE: Stop Recalculations Glitchingposted in Questions & Answers
Hi, I previously posted an inquiry to assign Stops to the lowest lows since entry of a trade. I thought that would provide me with the correct ammunition. I have a complex Stop Loss calulation that adjusts overtime. I have programmed most of this, but the EA keeps stopping. If anyone could assist It is as follows:
Daily Chart
- 10 Period MA Simple On Close
- ATR 40 Period
Long Entry - Close Of Today (Minus) 10 period MA Of Today = Positive
- 10 Period MA Of Today (Minus) 10 Period MA 10 Days Ago = Positive
- Close Of Today’s Candle (Minus) Close Of Candle 40 Days Ago = Positive
Enter Long Position Open Of The Next Candle.
Short Entry
- Close Of Today (Minus) 10 period MA Of Today = Negative
- 10 Period MA Of Today (Minus) 10 Period MA 10 Days Ago = Negative
- Close Of Today’s Candle (Minus) Close Of Candle 40 Days Ago = Negative
Enter Short Position Open Of Next Candle
Initial Stop – Long
- ATR Of Today (Times x2) Under The Most Recent Lowest Close
Progressive Stop – Long - Each Day The New Stop Is Calculated And Placed At The Most Recent Lowest Close.
- Each Day, The Long Entry Condition Formulas Are Calculated. Each Day A Single Formula Results In A Negative Value, The Stop Is Calculated As Above But Reduced By 1/3rd.
- Each Day All Formulas Result In Positive, The Regular Stop Applies.
Initial Stop – Short - ATR Of Today (Times x2) Over The Most Recent Highest Close
Progressive Stop – Short - Each Day The New Stop Is Calculated And Placed At The Most Recent Highest Close.
- Each Day, The Short Entry Condition Formulas Are Calculated. Each Day A Single Formula Results In A Positive Value, The Stop Is Calculated As Above But Reduced By 1/3rd.
- Each Day All Formulas Result In Negative, The Regular Stop Applies.
Each Trade Continues Until Stopped Out. Each Trade is .02 Lots Per $1,000 In Equity. Minimum .01 Lots
-
RE: I need to specify the lowest low since entryposted in Questions & Answers
I need to identify the lowest low since entering a trade for stop placement and move the stop accordingly. Can you assist?
-
RE: Using Indicators In an EAposted in Questions & Answers
Thank you. yes, I have been using combined indicator blocks, but I have not figured out how to specify that an indicator value is = or > a specified level. I can see how to identify a "rise" and also in increase over previous bars, But I am unable to specify the value at or above a levet at a particular bar. ADX level at or above 40? Can you issue an example of blocks for logic. it would help me to apply to many scenarios? Thanks. I think I'm getting the basics in order and your patience is much appreciated.
-
RE: Using Indicators In an EAposted in Questions & Answers
I am trying to use ADX and set a condition: If the ADX main is = or > 40 the condition is met to enter a trade. I tried Indicator Rise and Indicator move between levels, but I cant find where to set the value. The condition applies only to Bar #1. Can someone offer guidance please?