Is it possible to send information between two scanners?
Where can i found an exemple about this?
thank you very much
Nuno
send information between two scanners
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: send information between two scanners
Hi OZ Trade
thank you for your help
A simply question?
here an example:
Scanner A : 40 stocks
Scanner B : 40 stocks (same as in scanner A)
i want to send for example this values from A to B
How to store this values for each stock in scanner B?
How to adapt this code for scanners?
Indicator in the sending chart:
In the receiving chart strategy or indicator uses:
Nuno
thank you for your help
A simply question?
here an example:
Scanner A : 40 stocks
Scanner B : 40 stocks (same as in scanner A)
i want to send for example this values from A to B
How to store this values for each stock in scanner B?
How to adapt this code for scanners?
Indicator in the sending chart:
Code: Select all
ifLastBarOnChartandbarstatus(1)=2 then
begin
GVSetDouble(1,CumVol);
GVSetDouble(2,CumVolAvg);
end;
Code: Select all
CumVol=GVGetDouble(1);
CumVolAvg=GVGetDouble(2);
Re: send information between two scanners
Read the attached and have a try.
But you basically got it. Try putting 'Value1=' in front when storing a variable.
But you basically got it. Try putting 'Value1=' in front when storing a variable.
- Attachments
-
- Global Variable 2.2.pdf
- (407.21 KiB) Downloaded 257 times
-
- Posts: 174
- Joined: 31 Jan 2006
- Has thanked: 74 times
- Been thanked: 5 times
Re: send information between two scanners
I read the documentation and i found a solution with Global Variables (GVSetNamedFloat and GVGetNamedFloat for example)
Thank you
can someone tell me where i can found the differences between:
ADE / EL Collections / Global variables
Thank you
can someone tell me where i can found the differences between:
ADE / EL Collections / Global variables
- ABC
- Posts: 723
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 410 times
- Contact:
Re: send information between two scanners
nuno-online,
one difference is that Global Variables was developed by TS were EL Collections (ELC) was developed by a TS user originally, who introduced storing concepts with ELC that are also found in higher programming languages. There you have one of the main differences in my opinion, you can store larger data amounts with ELC and you can use it in backtesting.
ADE is build on EL Collections and gives you some more tools at hand (although I am willing to wager that you can do almost anything with ELC directly).
Global Variables purpose is in exchanging data between charts or applications in realtime (charts, scanner) and you can share across applications (for example from scanner to a chart or vice versa). This is not possible with the first version of ELC. However ELC 2 was developed by the original creator now working for TS and this allows sharing across apps, too. I never tried using version 2 with MC though.
Regards,
ABC
one difference is that Global Variables was developed by TS were EL Collections (ELC) was developed by a TS user originally, who introduced storing concepts with ELC that are also found in higher programming languages. There you have one of the main differences in my opinion, you can store larger data amounts with ELC and you can use it in backtesting.
ADE is build on EL Collections and gives you some more tools at hand (although I am willing to wager that you can do almost anything with ELC directly).
Global Variables purpose is in exchanging data between charts or applications in realtime (charts, scanner) and you can share across applications (for example from scanner to a chart or vice versa). This is not possible with the first version of ELC. However ELC 2 was developed by the original creator now working for TS and this allows sharing across apps, too. I never tried using version 2 with MC though.
Regards,
ABC