Advertisement
retesere20

---- recycer --- TS_EL // concept: how series function work

May 27th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. //========== concept: how series function work ============//
  2.  
  3.  
  4.  
  5. // Host indicator:
  6. inputs: ENABLED (false);
  7. vars: price(0);
  8.  
  9. text= "a";
  10.  
  11. if( ENABLED ) then begin
  12. text= "b";
  13. Value1 = func1 (text);
  14. end;
  15.  
  16. text= "c";
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. // ===== FUNC1 (series type) ==== //
  24.  
  25. inputs: length(numericSimple);
  26. Print(length);
  27.  
  28. // print output will be //
  29. when ENABLED is true, indicator prints:
  30. "b"
  31. when ENABLED is false, indicator will still print, but another value:
  32. "c"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement