General Trading Chat

Someone please suggest a way

How to convert .csv file into .txt file (with comma separated), like,
20170904,09:16:00,9983,9983.3,9953.45,9953.95,0
OR
To convert tab separated text file to comma separated text file, as above

What I am getting is tab separated
20170904 09:16:00 9983 9983.3 9953.45 9953.95 0
Open .csv file in notepad and while saving it rename according to symbol name in your database
 
Someone please suggest a way

How to convert .csv file into .txt file (with comma separated), like,
20170904,09:16:00,9983,9983.3,9953.45,9953.95,0
OR
To convert tab separated text file to comma separated text file, as above

What I am getting is tab separated
20170904 09:16:00 9983 9983.3 9953.45 9953.95 0
If you have MS Word . .
rename the file extension,
Open it in word as text file
use Find & Replace Tab with a comma

else look (google) for a simple script to replace char/text in a text file.

for e.g.

Code:
call jrepl "\t" "," /x /f "input-file.txt" /o "output-file.txt"

Happy :)
 
If you have MS Word . .
rename the file extension,
Open it in word as text file
use Find & Replace Tab with a comma

else look (google) for a simple script to replace char/text in a text file.

for e.g.

Code:
call jrepl "\t" "," /x /f "input-file.txt" /o "output-file.txt"

Happy :)
Sorry not very familiar with this kind of coding, but how is this code run ?? From the command prompt (cmd) ?? (I used to be a DOS commando)
 
Thanks MB ji, thanks Happy ji
MB ji method is one click method, so going for it.

Thanks again to MB ji and Happy ji for your kind suggestions.
If you want to rename (no conversion of tabs to commas ) can simply use dos command rename :)

Yes TP just run the keyword cmd to get dos wndow

btw all these dos command also have syntax help
for e.g. typing ren/? and <enter>on dos prompt gives help on rename file

Happy :)
 

vivektrader

In persuit of financial independence.
If you want to rename (no conversion of tabs to commas ) can simply use dos command rename :)

Yes TP just run the keyword cmd to get dos wndow

btw all these dos command also have syntax help
for e.g. typing ren/? and <enter>on dos prompt gives help on rename file

Happy :)
Happy ji, are you a full time trader and for how long?

Vivek
 
Xray ji just saw your post in your thread and since i do not have sufficient privileges to post in that thread, chose to share my viewpoint in this thread. If you think that this is troling then please do inform me rather than reporting me. Good that you were able to make money in the 1st way but you are taking way too much risk. (3R as your position size is 3 lots). Now in the 2nd case with adds you just test the waters with a tentative entry with 1R as your risk as per 1 lot size. Once the trend stabilizes and one grows in confidence, one adds the 2nd lot knowing fully well that even if the TSL is hit it would be a BE trade and by the time the 3rd entry matures you are assured of some profits. Sure Rewards would be lesser but so would the risks. Risk would be a max of 1R.
 
I too prefer the second method as the chances of false starts / trade failure are maximum in the initial entry where the risk is 3R.In second method,the risk is 1R initially and the subsequent positions are added risking part of the profit in the earlier positions.

Smart_trade
 

Similar threads