<?xml version="1.0" encoding="UTF-8"?>
<!-- Only the settings with values not equal to defaults are in this file. If you want to see the
full list of available settings, check the amstock_settings.xml file in the amstock folder. -->
<settings>
  <margins>0</margins>                                                   
  <redraw>true</redraw>
  <number_format>  
    <letters>
       <letter number="1000">K</letter>
       <letter number="1000000">M</letter>
       <letter number="1000000000">B</letter>
    </letters>      
  </number_format>
  <data_sets> 
    <data_set did="0">
       <title>East Stock</title>
       <short>ES</short>
       <color>7f8da9</color>
       <file_name>data.csv</file_name>
       <csv>
         <reverse>true</reverse>
         <separator>,</separator>
         <date_format>YYYY-MM-DD</date_format>
         <decimal_separator>.</decimal_separator>
         <columns>
           <column>date</column>
           <column>volume</column>
           <column>close</column>
           <column>buy1</column>
           <column>buy2</column>
           <column>buy3</column>
           <column>buy4</column>
           <column>sell1</column>
           <column>sell2</column>
           <column>sell3</column>
           <column>sell4</column>           
         </columns>
       </csv>          
    </data_set>
  </data_sets>

  <charts>
  	<chart cid="first">
  		<height>60</height>
  		<title>Value</title>
      <border_color>#CCCCCC</border_color>
      <border_alpha>100</border_alpha>
     
      <values>
        <x>
          <bg_color>EEEEEE</bg_color>
        </x>   
      </values>
      <legend>
        <show_date>true</show_date>
      </legend>

      <column_width>100</column_width>

      <events>
        <color>fac622</color>
      </events>

  		<graphs>
 			
  			
  			
  			<graph gid="buy1">
  			  <color>FF0000</color>
  			  <alpha>0</alpha>
  			  <cursor_alpha>0</cursor_alpha>
  				<data_sources>
  				  <close>buy1</close>
          </data_sources>
  			</graph>
  			<graph gid="buy2">
  			  <color>FF0000</color>
  			  <fill_alpha>80</fill_alpha>
  			  <alpha>0</alpha>
  			  <cursor_alpha>0</cursor_alpha>
  				<data_sources>
  				  <close>buy2</close>
          </data_sources>
  				<stack_to>buy1</stack_to>          
  				<min_max>0</min_max>
  			</graph>
  			<graph gid="buy3">
  			  <fill_alpha>60</fill_alpha>
  			  <alpha>0</alpha>  			
  			  <cursor_alpha>0</cursor_alpha>
  			  <color>FF0000</color>
  				<data_sources>
  				  <close>buy3</close>
          </data_sources>
  				<stack_to>buy2</stack_to>     
          <min_max>0</min_max>     
  			</graph>
  			<graph gid="buy4">
  			  <fill_alpha>40</fill_alpha>
  			  <alpha>0</alpha>  			
  			  <cursor_alpha>0</cursor_alpha>
  			  <color>FF0000</color>
  				<data_sources>
  				  <close>buy4</close>
          </data_sources>
  				<stack_to>buy3</stack_to>
          <min_max>0</min_max>          
  			</graph>  			
  			
  			<graph gid="sell1">
  			  <color>00ff00</color>
  			  <alpha>0</alpha>
  			  <cursor_alpha>0</cursor_alpha>
  				<data_sources>
  				  <close>sell1</close>
          </data_sources>
  			</graph>
  			<graph gid="sell2">
  			  <color>00ff00</color>
  			  <fill_alpha>80</fill_alpha>
  			  <alpha>0</alpha>
  			  <cursor_alpha>0</cursor_alpha>
  				<data_sources>
  				  <close>sell2</close>
          </data_sources>
  				<stack_to>sell1</stack_to>          
  				<min_max>0</min_max>
  			</graph>
  			<graph gid="sell3">
  			  <fill_alpha>60</fill_alpha>
  			  <alpha>0</alpha>  			
  			  <cursor_alpha>0</cursor_alpha>
  			  <color>00ff00</color>
  				<data_sources>
  				  <close>sell3</close>
          </data_sources>
  				<stack_to>sell2</stack_to>     
          <min_max>0</min_max>     
  			</graph>
  			<graph gid="sell4">
  			  <fill_alpha>40</fill_alpha>
  			  <alpha>0</alpha>  			
  			  <cursor_alpha>0</cursor_alpha>
  			  <color>00ff00</color>
  				<data_sources>
  				  <close>sell4</close>
          </data_sources>
  				<stack_to>sell3</stack_to>
          <min_max>0</min_max>          
  			</graph>  			  			
     
  			<graph gid="close">
  				<data_sources>
  				  <close>close</close>
          </data_sources>

  				<bullet>round_outline</bullet>
  		    <legend>
            <date key="false" title="false"><![CDATA[{close}]]></date>
            <period key="false" title="false"><![CDATA[open:<b>{open}</b> low:<b>{low}</b> high:<b>{high}</b> close:<b>{close}</b>]]></period>
          </legend>         
  			</graph>         		  			
  			
  		</graphs>
  	</chart>  

  	<chart cid="second">
  		<height>30</height>
  		<title>Volume</title>  		
      <border_color>#CCCCCC</border_color>
      <border_alpha>100</border_alpha>
      <grid>
        <y_left>
          <approx_count>3</approx_count>
        </y_left>
      </grid>	

      <values>
        <x>
          <enabled>false</enabled>
        </x>
      </values>

      <legend>
        <show_date>false</show_date>
      </legend>
       	
      <column_width>0</column_width>
      
      <events>
        <color>db4c3c</color>
      </events> 
     
     
  		<graphs>
  			<graph gid="volume">
  				<type>column</type>
  				<data_sources>
  				  <close>volume</close>
          </data_sources>
          <period_value>average</period_value>
  				<alpha>100</alpha>
  				<fill_alpha>0</fill_alpha>
  		    <legend>
            <date key="false" title="false"><![CDATA[{close}]]></date>
            <period key="false" title="false"><![CDATA[open:<b>{open}</b> low:<b>{low}</b> high:<b>{high}</b> close:<b>{close}</b>]]></period>
          </legend>         
  			</graph>  			
  		</graphs>
  	</chart>    
 
  </charts>

  <date_formats>
    <events>DD month YYYY</events>
  </date_formats>

  <data_set_selector>
    <enabled>false</enabled>
  </data_set_selector>
  
  <period_selector>
		<periods>		
      <period type="DD" count="10">10D</period>
    	<period type="MM" count="1">1M</period>
    	<period type="MM" count="3">3M</period>
    	<period selected="true" type="YYYY" count="1">1Y</period>
    	<period type="YTD" count="0">YTD</period>
    	<period type="MAX">MAX</period>
		</periods>
		
		<periods_title>Zoom:</periods_title>
		<custom_period_title>Custom period:</custom_period_title> 
  </period_selector>

  <header>
    <enabled>false</enabled>
  </header>

  <scroller>
    <graph_data_source>close</graph_data_source>
    <resize_button_style>dragger</resize_button_style>
    <playback>
      <enabled>true</enabled>
      <speed>3</speed>
    </playback>
  </scroller>
  
  <export_as_image>
    <file>export.php</file>
    <target></target>    
    <color></color>                                           
    <alpha></alpha>                                           
    <text_color></text_color>                                 
    <text_size></text_size>                                   
  </export_as_image>
</settings>
