Rahul Shaji Parmeshwar
Rahul Shaji Parmeshwar
  • Information
2 years
experience
1
products
2
demo versions
0
jobs
0
signals
0
subscribers
Rahul Shaji Parmeshwar Published product

This software is a live data exporter for any instrument, it exports the data into a CSV file.  Instructions:  1. Deploy on any instrument and when prompted, change the interval variable to the duration of your liking. (Default setting is 30 seconds). The interval sets how many seconds before the exporter snapshots the data and exports it. (The minimum amount of seconds can be 1 second, however this will lead to a large file and may cause problems when processing it in python or other

Rahul Shaji Parmeshwar
Added topic How do I save the order/open price for all open orders in an array?
Hello, How would I save the order open price for all open orders and save it into an array which updates every time I add another order? My code is below.  double OrderOpenPriceBuyArray[ 10 ]; datetime LastTimeBuy; //LastBuyOrderTime ( int j = 0
Rahul Shaji Parmeshwar
Added topic How do I compound lot size based on order?
Hello, My code below does not seem to work. I am trying to increase my lot size every time a new order is placed and incrementally increase it as more order are placed.  input double Lotsize = 0.1 ; input double Increment = 0.1 ; double
Rahul Shaji Parmeshwar
Added topic How to detect a trade made by the user?
Hello, MQL4 does not seem to have an inbuilt function where a trade made by the user is detected. I am not even sure how I would go around defining it? Has anyone got an idea how to approach this problem?  Thank you
Rahul Shaji Parmeshwar
Added topic How to solve zero divide error in my code?
Hello guys, I am running into a zero divide error because my formula is based on the percentage change from the lowest/highest the last x bars and due to the nature of this it gives me a zero divide error. I am not sure how to solve this, if anybody
Rahul Shaji Parmeshwar
Added topic How to save Ask price and set lot size based on that?
Hello, I am trying to create an ea which sets its lot sizing based on the distance it's away or near to the price where the criteria was first met. However, in the strategy tester , it does not seem to take any trades at all. My code is below. 
Rahul Shaji Parmeshwar
Added topic How does Close[0] index its values?
I am creating an EA where it checks the Close[0] to either buy/close/sell. My question is because bar 0 is not fully formed yet, is the Close[0] considered as the ask/bid? Or is it only considered a Close once the bar has completed. I need to know
Rahul Shaji Parmeshwar
Added topic How to have multiple separate criteria to close the same Ticket? Invalid Ticket for OrderClose Function.
Hello, I am trying to close my trades based on 2 separate types of criteria,  1. Regardless of what the profit is, close the trade after 1020 seconds. 2. If my import value changes from -1 to 1 or vice versa, close it regardless of any other
Rahul Shaji Parmeshwar
Added topic Error code 5008 Invalid Handle (handle index is out of handle table) When reading CSV
My code below is running into error 5008 and from my understanding it's because I'm not closing the csv file after reading it? However I have closed it but don't seem to figure out why this is popping up. My files are in the MQL4/Files folder so my
Rahul Shaji Parmeshwar
Added topic How to read a single cell from a CSV file?
Hello, there is not a lot of documentation on this issue, I need to get just one value from a cell from a csv file. My code is below and it doesn't seem to work. I've checked every thread and I do not seem to understand how reading specific
Rahul Shaji Parmeshwar
Added topic How to add column names when writing to CSV File?
Hello, I cannot figure out how to add column names to my csv file when mql4 outputs it. Has anyone managed to get around this? My EA outputs the chart data every 30 seconds in a CSV, the idea is then to be able to process this in python, column names
Rahul Shaji Parmeshwar
Added topic How to keep time between trades? Please Help Can't Find Solution Anywhere
Hello, I got this code from this forum and I've which should let my orders only be executed once its been 2 Hours since my last trade closed. However, If I run it then my EA does not make it's first trade at all. I've forced it to buy using the
Rahul Shaji Parmeshwar
Added topic Why are my custom indicator lines not showing on MT4 chart?
Hello, I believe I am fairly competent in coding expert advisors but coding technical indicators seem to be a whole another challenge. I have attached my code below, if anyone could point me in the right direction I would be grateful. Why isn't my
Rahul Shaji Parmeshwar
Added topic How to check if last 3/2 orders were closed at a loss, and if so, reverse positioning.
Hello, I have been trying to optimise my code so that if 2/3 orders were closed at a loss, then reverse direction of the order. I got this code from another thread and I do not understand it fully, what does the count++ function do and how does
Rahul Shaji Parmeshwar
Added topic OrderClose() Not working Please Help.
Hello, I am trying to get my open orders to close based on the ticket number but my positions do not close in the strategy tester . I have attached my code below. Any help will be greatly appreciated. Thank you.  <removed>
Rahul Shaji Parmeshwar
Registered at MQL5.community