Forum

Code to include in my EA so that it does not execute orders on high impact news

Hi I tried to find something about it in the forum, but I could not. Would anyone have a simple and functional code to include in my EA so that it does not execute orders on high impact news? Thank you

Deletes or changes the description of the object

Hi In this piece of code I believe that EA changes the color of a predetermined trendline after an order has been executed. if (BuySig) { ObjectSet (obj_name, OBJPROP_COLOR , White); ObjectSet (obj_name, OBJPROP_WIDTH , 2 ); //if (BuyCnt > 0) return; if (OrdersCountBar0( 0

Modify the code of an EA

Greetings Can any programmer help me to modify the code of an EA I'm testing? It is an EA that trades when price touches trend lines. It uses the color and description of the Line to identify it and execute the order. But I am using trendlines that are provided by a custom indicator. The original EA

EA that places pending orders in trend lines

Does anyone have an EA that places pending orders in trend lines, using the name and its position in object properties as a reference

EA that places pending orders in trend lines, based on the object name

Hi Does anyone have any EA that places pending orders in trend lines, based on the object name