Archives

Michael

Michael has written 38 posts for RaidenWorks

Getting Fibonacci prices from the percentage level

Getting a price at a Fibonnaci percentage level is a straightforward mathematical calculation. We just need to define 3 things: 1. Price at 100% 2. Price at 0% 3. Percentage to return Price at This is a script illustrating all the calculation needed: You just need these 2 lines to to obtain your required price … Continue reading

MQL: Making your extern inputs as a dropdown list of fixed options

A quick script illustrating making your extern inputs as a dropdown list of fixed options. This is what will be seen.

MQL: Get maximum value in an array

Simple script illustrating getting the maximum value in an array. Code identical for MQL4 and MQL5. MT4 output: MT5 output:

MQL5: [Invalid price] error on OrderModify

There’s a few things that could give the Invalid Prices error from OrderModify. 1. If you are trying to modify price, SL, TP, with the same values as before. 2. If you are trading on an asset which tick size is not the same as the smallest increment of the least significant value, e.g. Nikkei 225 mini … Continue reading

MQL5: Get P&L of last closed trade

A quick script illustrating how to get the P&L of the last closed trade with MQL5.  

Archives

Visitors

Flag Counter