Индикатор торгового баланса стран\валют | Trading Go - Форекс советники, индикаторы и скрипты.
  • Форум восстановлен и работает стабильно!
    Но если что то не отображается нажмите Ctrl+F5
    Благодарим Вас за Ваше Внимание и Понимание!!!
  • Уважаемый гость! Чтобы просмотреть скрытую часть информации Вам нужно зарегистрироваться.

    Быстрая регистрация!

Индикатор торгового баланса стран\валют

Alik_msk

Участник
Регистрация
15 Авг 2017
Сообщения
7
Благодарностей
3
Автор темы #1
Начну со сложностей связных с этим индикатором.а,имеющей доступ к котировкамeurY/cnhD/usdN/usdF/eurD/cnhL/eurB/eurY/eurK/eurK/eurD/cnhK/eurR/eurR/cnhopener noreferrer" target="_blank">скачать<a href="

Пожалуйста, Авторизуйтесь или Зарегистрируйтесь для просмотра скрытого текста.

" rel="noopener noreferrer" target="_blank">ссылка гугл драйвp>ите но на этом форму невозможно писать сообщения, так как половина текста из-за форматировани просто пропадает или искажается</p>
 

Вложения

Последнее редактирование:

Alik_msk

Участник
Регистрация
15 Авг 2017
Сообщения
7
Благодарностей
3
Автор темы #2
сам код написанный на джаве, не знаю отобразиться ли он</p>is license header, choose License Headers in Project Properties.oose Tools | Templatestor.p>>/**;* @author Borisp> */<p><br>t.*;port j.awt.event.*;vax.swing.*;util.Formatter.*;emListener</p>olver{<p> JToggleButton jtbCNH,jtbEUR,jtbGBR,jtbJPY,jtbCAD,jtbMXN, jtbCHF,jtbAUD,jtbPOL,jtbRUB,jtbTRY,jtbSEK, jtbDKK,jtbNZD,jtbNOK,jtbZAR, jtbSGR;//sgd boolean bCNH,bUSD,bEUR,bGBR,bJPY,bCAD,bMXN,bCHF,bAUD,bPOL,bRUB, bTRY,bSEK,bDKK,bNZD,bNOK,bZAR, bSGR;dJPY,dCAD,dMXN,dCHF,dAUD,dPOL,dRUB, dTRY,dSEK,dDKK,dNZD,dNOK,dZAR, dSGR;; * @param args the command line arguments; TradeSolver(){ JFrame jfrm = new JFrame("Forex Aura 0.1");tContentPane().setLayout(new FlowLayout());tSize(800,200);tDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //p> JToggleButton jtbCNH =new JToggleButton("CNH/usd"); jtbEUR =new JToggleButton("EUR/usd"); jtbUSD =new JToggleButton("USD/xnh"); jtbGBR =new JToggleButton("GBR/eur"); jtbJPY =new JToggleButton("JPY/cnh"); jtbCAD= new JToggleButton("CAD/usd"); jtbMXN =new JToggleButton("MXN/usd"); jtbCHF =new JToggleButton("CHF/eur"); jtbAUD= new JToggleButton("AUD/usd"); jtbPOL =new JToggleButton("POL/eur"); jtbRUB =new JToggleButton("RUB/eur"); jtbTRY =new JToggleButton("TRY/eur"); jtbSEK =new JToggleButton("SEK/eur"); jtbDKK =new JToggleButton("DKK/eur"); jtbNZD =new JToggleButton("NZD/cnh"); jtbNOK =new JToggleButton("NOK/eur"); jtbZAR =new JToggleButton("ZAR/eur"); jtbSGR =new JToggleButton("SGR/cnh"); new JButton("solve");p> JTextArea jta = new JTextArea(5,60);p>
nbsp;// jtbCNH.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bCNH=true;bsp; jta.setText("CNH++++");</p>etStateChange()==ItemEvent.DESELECTED){alse;bsp; } }sp; ///nbsp; p; jtbUSD.addItemListener(new ItemListener() {</p>d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bUSD=true;sp; jta.setText("USD++++");</p>etStateChange()==ItemEvent.DESELECTED){alse;sp; } }sp; ///nbsp; jtbEUR.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bEUR=true;sp; jta.setText("EUR++++");</p>etStateChange()==ItemEvent.DESELECTED){bEUR=false;bsp; } }sp; //bsp; ; jtbGBR.addItemListener(new ItemListener() {</p>d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bGBR=true;sp; jta.setText("GBR++++");</p>etStateChange()==ItemEvent.DESELECTED){bGBR=false;sp; } }sp; jtbJPY.addItemListener(new ItemListener() {</p>d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bJPY=true;sp; jta.setText("JPY++++");</p>etStateChange()==ItemEvent.DESELECTED){bJPY=false;sp; } }sp; jtbCAD.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){true;t.println("button is selected");Text("CAD++++");</p>etStateChange()==ItemEvent.DESELECTED){bCAD=false;t.println("button is not selected"); jta.setText("CAD---"); }sp; jtbMXN.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bMXN=true;bsp; jta.setText("MXN++++");</p>etStateChange()==ItemEvent.DESELECTED){bMXN=false;sp; } }sp; jtbCHF.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bCHF=true;sp; jta.setText("CHF++++");</p>etStateChange()==ItemEvent.DESELECTED){bCHF=false;sp; } }sp; jtbAUD.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bAUD=true;sp; jta.setText("AUD++++");</p>etStateChange()==ItemEvent.DESELECTED){bAUD=false;sp; } }sp; jtbPOL.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bPOL=true;bsp;jta.setText("POL++++");</p>etStateChange()==ItemEvent.DESELECTED){bPOL=false;p> }sp; jtbRUB.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bRUB=true;sp; jta.setText("RUB++++");</p>etStateChange()==ItemEvent.DESELECTED){bRUB=false;sp; } }sp; jtbTRY.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bTRY=true;sp; jta.setText("TRY++++");</p>etStateChange()==ItemEvent.DESELECTED){bTRY=false;sp; } }sp; jtbSEK.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bSEK=true;sp; jta.setText("SEK++++");</p>etStateChange()==ItemEvent.DESELECTED){bSEK=false;sp; } }sp; jtbDKK.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bDKK=true;sp; jta.setText("DKK++++");</p>etStateChange()==ItemEvent.DESELECTED){bDKK=false;sp; } }sp; jtbNZD.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bNZD=true;sp; jta.setText("NZD++++");</p>etStateChange()==ItemEvent.DESELECTED){bNZD=false;sp; } }sp; jtbNOK.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bNOK=true;sp; jta.setText("NOK++++");</p>etStateChange()==ItemEvent.DESELECTED){bNOK=false;sp; } }sp; jtbZAR.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bZAR=true;sp; jta.setText("ZAR++++");</p>etStateChange()==ItemEvent.DESELECTED){bZAR=false;sp; } }/p><p> jtbSGR.addItemListener(new ItemListener() {d(ItemEvent ev) {Change()==ItemEvent.SELECTED){bSGR=true;bsp;jta.setText("SGR++++");</p>etStateChange()==ItemEvent.DESELECTED){bSGR=false;sp; } }/p><p> jbt.addActionListener(new ActionListener(){rformed(ActionEvent ae){tText("");.0;dEUR=0.0;dGBR=0.0;dJPY=0.0;dCAD=0.0;dMXN=0.0;dCHF=0.0;dAUD=0.0;dPOL=0.0;dRUB=0.0;dTRY=0.0;dSEK=0.0; dDKK=0.0;dNZD=0.0;dNOK=0.0;HF,bAUD,bPOL,bRUB,bTRY,bSEK,bDKK,bNZD,bNOK,bZAR;F,dAUD,dPOL,dRUB,dTRY,dSEK,dDKK,dNZD,dNOK,dZAR;<p> //-----------------CHN export--------------</p>D==true)nbsp;dCNH=dCNH+19.0;lse dCNH=dCNH-19.0;</p>bsp; if(bEUR==true)nbsp;dCNH=dCNH+15.0;lse dCNH=dCNH-15.0;</p>bsp; if(bJPY==true)nbsp;dCNH=dCNH+6.3;lse dCNH=dCNH-6.3;=true)nbsp;dCNH=dCNH+2.7;lse dCNH=dCNH-2.7;=true)nbsp;dCNH=dCNH+1.8;lse dCNH=dCNH-1.8;=true)nbsp;dCNH=dCNH+1.8;
dCNH=dCNH-1.8;=true)nbsp;dCNH=dCNH+1.6;nbsp;else dCNH=dCNH-1.6;=true)nbsp;dCNH=dCNH+1.3;nbsp;else dCNH=dCNH-1.3;=true)nbsp;dCNH=dCNH+0.2;nbsp; else dCNH=dCNH-0.2;=true)nbsp;dCNH=dCNH+0.2;nbsp;else dCNH=dCNH-0.2;=true)nbsp;dCNH=dCNH+0.2;nbsp;else dCNH=dCNH-0.2;=true)nbsp;dCNH=dCNH+0.6;nbsp;else dCNH=dCNH-0.6;=true)nbsp;dCNH=dCNH+0.8;nbsp;else dCNH=dCNH-0.8;=true)nbsp;dCNH=dCNH+0.1;nbsp;else dCNH=dCNH-0.1;=true)nbsp;dCNH=dCNH+0.8;nbsp;else dCNH=dCNH-0.8;/////////USA import////////////////////////////////////////> if(bCNH==true)nbsp;dUSD=dUSD-22.0;
dUSD=dUSD+22.0;bsp; if(bEUR==true)nbsp; dUSD=dUSD-18.0;</p>
dUSD=dUSD+18.0;bsp; if(bJPY==true)nbsp;dUSD=dUSD-6.1;lse dUSD=dUSD+6.1;=true)nbsp;dUSD=dUSD-2.5;nbsp;else dUSD=dUSD+2.5;=true)nbsp;dUSD=dUSD-0.4;nbsp;else dUSD=dUSD+0.4;=true)nbsp;dUSD=dUSD-0.6;nbsp;else dUSD=dUSD-0.6;=true)nbsp;dUSD=dUSD-13.0;nbsp;else dUSD=dUSD+13.0;</p>=true)nbsp;dUSD=dUSD-13.0;nbsp;else dUSD=dUSD+13.0;=true)nbsp;dUSD=dUSD-0.2;nbsp; else dUSD=dUSD+0.2;=true)nbsp;dUSD=dUSD-0.2;nbsp;else dUSD=dUSD+0.2;=true)nbsp;dUSD=dUSD-1.7;nbsp;else dUSD=dUSD+1.7;=true)nbsp;dUSD=dUSD-0.3;nbsp;else dUSD=dUSD+0.3;=true)nbsp;dUSD=dUSD+0.8;nbsp;else dUSD=dUSD-0.8;=true)nbsp;dUSD=dUSD-2.5;nbsp;else dUSD=dUSD+2.5;=true)nbsp;dUSD=dUSD-0.1;nbsp;else dUSD=dUSD+0.1;=true)nbsp;dUSD=dUSD-0.8;nbsp;else dUSD=dUSD+0.8;R export////////////////////////////////////sp; if(bUSD==true)nbsp;dEUR=dEUR+9.0;
dEUR=dEUR-9.0;bsp; if(bCNH==true)nbsp;dEUR=dEUR+6.4;lse dEUR=dEUR-6.4;bsp; if(bCAD==true)nbsp;dEUR=dEUR+0.1;
dEUR=dEUR-0.1;nbsp;if(bMXN==true)nbsp;dEUR=dEUR+0.1;
dEUR=dEUR-0.1;nbsp; if(bJPY==true)nbsp;dEUR=dEUR+1.6;
dEUR=dEUR-1.6;nbsp;if(bGBR==true)nbsp;dEUR=dEUR+7.1;
dEUR=dEUR-7.1;nbsp; if(bCHF==true)nbsp;dEUR=dEUR+4.2;
dEUR=dEUR-4.2;nbsp;if(bAUD==true)nbsp;dEUR=dEUR+0.8;
dEUR=dEUR-0.8;nbsp;if(bNOK==true)nbsp;dEUR=dEUR+0.8;
dEUR=dEUR-0.8;nbsp;if(bDKK==true)nbsp;dEUR=dEUR+1.5;
dEUR=dEUR-1.5;nbsp;if(bNZD==true)nbsp;dEUR=dEUR+0.1;
dEUR=dEUR-0.1;nbsp;if(bRUB==true)nbsp;dEUR=dEUR+1.8;
dEUR=dEUR-1.8;/p>nbsp;dEUR=dEUR+0.8;
dEUR=dEUR-0.8;true)nbsp;dEUR=dEUR+2.1;
dEUR=dEUR-2.1;nbsp;if(bTRY==true)nbsp;dEUR=dEUR+1.9;
dEUR=dEUR-1.9;sp; if(bSGR==true)nbsp;dEUR=dEUR+0.6;
dEUR=dEUR-0.6;rt///////////////////// p> if(bEUR==true)nbsp;dGBR=dGBR-60.0;
dGBR=dGBR+60.0;f(bCNH==true)nbsp;dGBR=dGBR-9.5;
dGBR=dGBR+9.5; if(bUSD==true)nbsp;dGBR=dGBR-9.1;
dGBR=dGBR+9.1; nbsp; if(bCAD==true)nbsp;dGBR=dGBR-2.1;
dGBR=dGBR+2.1;nbsp; if(bMXN==true)nbsp;dGBR=dG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D=dCAD+3.0;=true)nbsp;dCAD=dCAD-1.6;
dCAD=dCAD+1.6;/p>nbsp;dCAD=dCAD-0.8;
dCAD=dCAD+0.8;nbsp; if(bAUD==true)nbsp;dCAD=dCAD-0.8;
dCAD=dCAD+0.8;nbsp; if(bNOK==true)nbsp;dCAD=dCAD-0.3;
dCAD=dCAD+0.3;p>nbsp;dCAD=dCAD-0.2;
dCAD=dCAD+0.2;/p>nbsp;dCAD=dCAD-0.2;
dCAD=dCAD+0.2;/p>nbsp;dCAD=dCAD-02;
dCAD=dCAD+0.2;/p>nbsp;dCAD=dCAD-0.1;
dCAD=dCAD+0.1;/p>nbsp;dCAD=dCAD-0.3;
dCAD=dCAD+0.3;sp; if(bSGR==true)nbsp;dCAD=dCAD-0.3;
dCAD=dCAD+0.3;import////////////////////</p><p> if(bUSD==true)nbsp;dMXN=dMXN-47.0;
dMXN=dMXN+47.0;bsp; dMXN=dMXN-18.0;
dMXN=dMXN+18.0;bsp; dMXN=dMXN-10.0;
dMXN=dMXN+10.0;bsp; dMXN=dMXN-4.07;
dMXN=dMXN+4.7;bsp; dMXN=dMXN-0.6;
dMXN=dMXN+0.6;bsp; dMXN=dMXN-2.5;
dMXN=dMXN+2.5;bsp; dMXN=dMXN-0.2;
dMXN=dMXN+0.2;bsp; dMXN=dMXN-0.4;
dMXN=dMXN+0.4;bsp; dMXN=dMXN-1.5;
dMXN=dMXN+1.5;bsp; dMXN=dMXN-0.1;
dMXN=dMXN+0.1;bsp; dMXN=dMXN-0.2;
dMXN=dMXN+0.2; bsp; dMXN=dMXN-0.1;
dMXN=dMXN+0.1;bsp; dMXN=dMXN-2.0;
dMXN=dMXN+2.0;bsp; dMXN=dMXN-0.4;
dMXN=dMXN+0.4;nbsp; dMXN=dMXN-0.3;
dMXN=dMXN+0.3;t////////////////</p><p> if(bUSD==true)</p><p> dCHF=dCHF+12.0;
dCHF=dCHF-12.0;nbsp; dCHF=dCHF+9.0;
dCHF=dCHF-9.0;sp; if(bEUR==true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AUD-0.1;
dAUD=dAUD+0.1;(bSGR==true)nbsp;dAUD=dAUD-2.2;
dAUD=dAUD+2.2;export///////////////</p><p> if(bEUR==true)</p>nbsp; dRUB=dRUB+43.9;
dRUB=dRUB-43.9;p>nbsp;dRUB=dRUB+38.4;
dRUB=dRUB-38.4;/p>nbsp;dRUB=dRUB+8.4;
dRUB=dRUB-8.4;true)nbsp;dRUB=dRUB+3.3;
dRUB=dRUB-3.3;=true)nbsp;dRUB=dRUB+9.3;
dRUB=dRUB-9.3;(bGBR==true)nbsp;dRUB=dRUB+2.5;
dRUB=dRUB-2.5;f(bCHF==true)nbsp;dRUB=dRUB+1.1;
dRUB=dRUB-1.1;nbsp;if(bDKK==true)nbsp;dRUB=dRUB+0.5;
dRUB=dRUB-0.5;p>nbsp;dRUB=dRUB+0.4;
dRUB=dRUB-0.4;p>nbsp;dRUB=dRUB+0.3;
dRUB=dRUB-0.3;/p>nbsp;dRUB=dRUB+0.2;
dRUB=dRUB-0.2;p>nbsp;dRUB=dRUB+0.1;
dRUB=dRUB-0.1; p>nbsp;dRUB=dRUB+0.1;
dRUB=dRUB-0.1;p>nbsp;dRUB=dRUB+0.1;
dRUB=dRUB-0.1;p>nbsp;dRUB=dRUB+0.7;
dRUB=dRUB-0.7;/////TRY import///////////////////</p><p> if(bEUR==true)nbsp;dTRY=dTRY-40.0;
dTRY=dTRY+40.0;p>nbsp;dTRY=dTRY-13.0;
dTRY=dTRY+13.0;p>nbsp;dTRY=dTRY-8.0;
dTRY=dTRY+8.0;/p>nbsp;dTRY=dTRY-5.8;
dTRY=dTRY+5.8;true)nbsp;dTRY=dTRY-2.8;
dTRY=dTRY+2.8;=true)nbsp;dTRY=dTRY-2.8;
dTRY=dTRY+2.8;true)nbsp;dTRY=dTRY-2.1;
dTRY=dTRY+2.1;true)nbsp;dTRY=dTRY-0.6;
dTRY=dTRY+0.6;(bMXN==true)nbsp;dTRY=dTRY-0.4;
dTRY=dTRY+0.4;f(bDKK==true)nbsp;dT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.2f", dCNH);rmat("%8.2f", dUSD);rmat("%8.2f", dJPY);rmat("%8.2f", dEUR);rmat("%8.2f", dGBR);rmat("%8.2f", dCAD);rmat("%8.2f", dMXN);rmat("%8.2f", dCHF);rmat("%8.2f", dAUD);rmat("%8.2f", dPOL);rmat("%8.2f", dRUB);rmat("%8.2f", dTRY);rmat("%8.2f", dSEK);rmat("%8.2f", dDKK);rmat("%8.2f", dNZD);rmat("%8.2f", dNOK);rmat("%8.2f", dZAR);%8.2f", dSGR);/////br></p><p> </p><p> /////------------->nbsp; jta.setText(" CNH="+sCNH +" USD="+sUSD+" EUR="+sEUR+"\n"+</p><p> " GBR="+sGBR+" JPY="+sJPY+" CAD="+sCAD+"\n"+</p><p> " MXN="+sMXN+" CHF="+sCHF+" AUD="+sAUD+"\n"+</p><p> " POL="+sPOL+" RUB="+sRUB+" TRY="+sTRY+"\n"+</p><p> " SEK="+sSEK+" DKK="+sDKK+" NZD="+sNZD+"\n"+</p><p> " NOK="+sNOK+" ZAR="+sZAR+" SGR="+sSGR );</p><p>&nbsp; </p><p> //<p> }>nbsp;//m.getContentPane().add(jtbCNH);</p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p></p>p>
).add(jta);
;; }bsp; //nbsp;nbsp; p> public static void main(String[] args) {; SwingUtilities.invokeLater(new Runnable(){ public void run(){ new TradeSolver();; });sp; </p>nbsp; //; }>>; </p><p> }><p> ODE]</p>
 
Теги Нет
Сверху