Specification
Hi,
i have some heavy Cpu indicators like ccpf i want to replicate on all my charts without attach it on all the charts:
- So i need a EA/Script that save all the buffers from an indicator into a CSV and also an indicator that can read and plot the buffers i set in the parameters (so for example if i set 0,3,5 in the indicator then only buffer 0, 3 and 5 will be plotted)
- In the EA inputs i can put the ICustum parameters. Something like
iCustom(CurrentSymbol(),TF,""CCFp mtf & alerts 2.03 nmc",TF,"","",3,3,5,6,true,true,true,true,true,true,true,true,false,White,Red,FireBrick,GreenYellow,Gold,Blue,Aqua,Teal,0.015,0.007,0.007,0.015,1,false,true,false,true,false,true,false,false,"CC",0,12,3,9,3,5,3,18,6,24,8,16,2,16,4,12,3,30,10,true ,0,y());
- I don't want to modify my indicators to directly save in csv because probably i will change them in future.
- EA/scripts have to save values in a csv every times a new bar is created.
- Csv file must be recreated each time EA is started again
- To make it realtime Bar0 buffers can be stored in Globalvariables and read them from the plotting indicator at each new tick
- in the EA and Indicator i wold like to set a unique name so i can use for example two EA and two Indicator witch use two differents csv and differents GV
(for example ExportbuffersONE.csv , GlobalBuff0ONE, GlobalBuff3ONE, GlobalBuff5ONE and ExportbuffersTWO.csv , GlobalBuff0TWO, GlobalBuff3TWO, GlobalBuff5TWO)
I hope it can be done.. ;-)
Of course if you have a better idea to reach my needs, is welcome of course!
Thanks
Dave