Forum

Reading CSV files

Hi guys, in need of some tips for reading .csv files. Below is an example. Say I want to read in I4 as a string and assign it to a variable. If I did this in Python I'd just have each line as an array and would be able to access I4 as: myString = myCSVFile[ 4 ][ 8 ] #Python code Is there a similar

How to compare for martingale...

Hi I've created an EA that works, but I want to take it to the next level, atm I compare the account balance with the "previous account balance" with a static double... So I record the account balance, and then after the trade is completed, the EA checks if the account balance got less or more, if

One glitch driving me crazy.

Okay so I'm creating a martingale EA... So I want to record the account balance , then make a trade, then if the new account balance is bigger than the previous account I want lot = 0.1; If the new balance is smaller than previous balance, then I want lot=lot*2; (I have static double lot)... All I