macpee
macpee
macpee
Added topic How ea can identify diffefent modes of modifying orders
Hi everyone.  I want my EA to be able to differentiate among the following ways of modifying orders from the orders themselves: 1. When an order is modified manually (user shifts the price level on chart using the mouse or opens the "order
macpee
Added topic inverse of iChartShift() function
Please what is the inverse of the following function: iBarShift ( NULL , PERIOD_D1 ,DateTime); I wish to get the date of a candle. Thanks in advance
macpee
Added topic How do I calculate risk?
If I use a leverage of 500, in how many cross hair pips will a lot of 0.04 stop out, assuming a POINT of 0.00001 on a balance of 200 USD
macpee
Added topic Looking for a function to return integer value of a symbol. Any help?
I am aware of the function SymbolName (i, true ); used to return a symbol name given an integer. I am looking for a function to return the integer value of an instrument given a symbol name. Something that looks like: IntegerValue (SymbolName, true)
macpee
Added topic Allow live trading
How do you code "Allow live trading"? Thanks in advance
macpee
Added topic My trendlines don't save
My trend lines or other objects for that matter don't save each time I create them manually on the chat, close the window and open the window again. What could be the cause
macpee
Added topic HOW TO CODE TAB STOP
Hy guys, I have created a lot of objects on my chart. I want to be able to move from one object to another by pressing the tab (forward movement) and shift+tab(backward movement). How can I code that please. Thank you in advance
macpee
Added topic How to enable "Allow live trading" as a code
Hi guys, how can I code that my EA should enable "ALLOW LIVE TRADING BUTTON"? Thank you in advance
macpee
Added topic What is the difference between NULL and "" ?
Can someone tell the difference between NULL and "" Thank you in advance
macpee
Added topic Some UninitializationReason do not trigger
Why is it that some UnInitializationReason do not trigger, e.g. REASON_CHARTCHANGE
macpee
Added topic Issue with StringToDouble()
Why does the function StringToDouble ( "1 st Actual"); return the value 1.00000000, instead of 0.00000000? Moreover, why does the function StringToDouble ( "2 nd Actual"); return 2.00000000, instead of 0.00000000 ? and so on
macpee
Added topic StringToDouble or StrToDouble
Please can someone explain to me in simple terms the difference between StringToDouble() and StrToDouble() functions ? The documents did not seem to differentiate between the two to my understanding
macpee
Added topic How do I check if the content of a variable is numeric?
Hi, everyone. How do I check if the content of a variable is numeric, especially the content of a text box object on the chat? I tried the following but it did not work: ObjectSetString ( 0 , "SimultaneousReleaseIndex" , OBJPROP_TEXT , "Four" ); if (
macpee
Added topic What formula can be used to assign EQUAL distance between ask and profit level accross instruments?
What formula can I use to assign EQUAL distance between ask and profit level accross instruments when going bullish? I realize that instruments with higher spread give shorter distance on the chart, and vice versa. I have tried the following but the
macpee
Added topic Why am I getting zero values in the function
       int window = 0; double NewProfit; datetime CurrTime; ChartXYToTimePrice ( 0 , 320, 410, window, CurrTime, NewProfit); Why am I getting zero values for CurrTime and NewProfit
macpee
Added topic What is the value of one pixel?
What is the value of one pixel on the Y axis of the current chart? I need this value so that I can calculate the value of 600 pixels. This is because I want 600 pixel take profit level , and not 600 Points or 600 pips. I want a uniform take profit
macpee
Added topic HOW CAN I SEE ALL MY TOPICS?
How can I view all my topics, or all my questions per say? Thank you in advance
macpee
Added topic CHART EVENT FOR CLICKING ON A PENDING ORDER?
Please is there a chart event for clicking on a pending order , such as CHARTEVENT_ORDER_CLICK? Thank you
macpee
Added topic IS THERE A SHORT CUT FOR TP OR SL ON ALREADY PLACED PENDING ORDER?
You might wonder why only pending orders and not open orders. You see, it is easy to add tp and sl to open orders by simply executing alt + drag on the price line, but not on pending orders. Once executed on pending order, it will instead change the
macpee
Added topic HOW TO CODE THAT EA SHOULD ENABLE LIVE TRADING
As if the effort to enable auto trading is not enough I am not so comfortable to enable live trading all the time. How can I  make my EA to enable live trading as soon as I enable auto trading? Thank you in advance. I can see something like