koranged / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
koranged
Added topic Select Deal (by ticket) in MQL5
Is it possible to select a deal by ticket in MQL5 using CDeal? Documentation: Ticket (Get method) Gets the deal ticket. ulong Ticket () const Return Value Deal ticket. Ticket (Set method) Select the position for further
koranged
Added topic Plots vs. Buffers
It may seem like a silly question but I haven't actually seen any explanation of this anywhere - what is the difference between an indicator plot and an indicator buffer in MQL5
koranged
Added topic Low Quality Broker Data on MT5
There are dozens of topics on this forum related to MT5 native historical data vs MT4 external imported data, but I think that this issue is a bit more specific to longer term backtesting and therefore warrants it's own thread; If you develop
koranged
Added topic Can Identical Settings Provide Different Backtesting Results?
Assuming that the backtesting is done at a fixed spread, from date X to date Y, with tick data, and that the platform is not connected to the internet from the start to the end of the tests (to avoid the quote currency exchange rate differential at
koranged
Added topic Open Prices Only Effect on Active SL & TP
There have been similar topics discussed on here but I haven't seen one where this specific question has been fully answered. When using the open prices only method in the strategy tester , if a stop loss and take profit were set on the previous bar
koranged
Added topic P/L Appears To Be Incorrect
This trade incurred a loss of 1 pip on a 1 lot. The loss should therefore equal -10.00 (the spread) , however the loss appears as -7.56 in Account History. There are no commission, tax or swap charges on the trade, so how is it possible for the loss
koranged
Added topic Must every individual object on the chart have its own unique name?
I want my EA to print arrows on the chart to indicate where a trade was opened/closed. Is there anyway that we can draw multiple of the same object at different points in the chart? For example I might want to create an arrow on the current bar
koranged
Added topic Adding Stop Loss to Open Trade
If a trade has been opened without a stop loss , but later on the necessity to add a stop to the open trade arises, what is the best way to deal with this situation? Is it to use OrderModify: OrderModify (Ticket,Open_Price,Stop_Loss, 0 , 0 , clrNONE
koranged
Added topic Cannot Alter Properties of Custom Indicator
I am trying to display two versions of a custom indicator (with differing lookback periods), on the same chart, but when I try to change the indicator width or line style in the indicator properties box, it just disapears off of the chart after
koranged
Added topic Passing Parameters to a User-Defined Function
When we pass parameters into a user-defined function , we change the name of the variables being passed, but the values that the variable holds are obviously retained in the function. Why do we change the name of the variables when inside the UDF
koranged
Added topic Where is the Best Place to Have Code Critiqued?
I have written a few basic programs which work but are no doubt far from as efficient as they could be. I would like someone who has been around for a bit longer than I to critique and suggest possible improvements. Is there anywhere on this site
koranged
Added topic Adding an Additional Element to Array to Avoid 'Out of Range' Error
double DR[ 260 ]; for (j= 1 ; j<= 259 ; j++) { DR[j]= Close [j]- Open [j]; Sum=Sum+DR[j]; Count++; } In the above code, to the best of my knowledge, the loop should run for 259
koranged
Added topic Why is there so much stress and anger in this forum?
This forum is a fantastic resource for programmers of all levels, from beginners looking to plug the gaps in their understanding to the adept who may still require help themselves from time to time. Unfortunately, there seems to be a lingering
koranged
Added topic Cannot Declare Array
double Limit= Bars - 1 ; double DR [ Limit]; for (i= Bars - 1 ; i>= 0 ; i--) { DR[i]= Close [i]- Open [i]; // daily return Alert ( "Daily return of bar " , i, " = " ,DR[i]); } The above returns
: